29 lines
1.0 KiB
Python
29 lines
1.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.10.5 on 2017-02-01 19:08
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('billard', '0003_client'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Accounting',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('desk_no', models.IntegerField()),
|
|
('time_from', models.DateTimeField()),
|
|
('time_to', models.DateTimeField(blank=True, null=True)),
|
|
('prize', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
|
|
('client', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='billard.Client')),
|
|
('location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='billard.Location')),
|
|
],
|
|
),
|
|
]
|