30 lines
1021 B
Python
30 lines
1021 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.10.5 on 2017-02-04 10:17
|
|
from __future__ import unicode_literals
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
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')),
|
|
],
|
|
options={
|
|
'ordering': ['-time_from'],
|
|
},
|
|
),
|
|
]
|