32 lines
1.3 KiB
Python
32 lines
1.3 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.10.5 on 2017-02-01 12:48
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('billard', '0002_location'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Client',
|
||
|
fields=[
|
||
|
('id', models.UUIDField(editable=False, primary_key=True, serialize=False)),
|
||
|
('desk1_enable', models.BooleanField()),
|
||
|
('desk1_name', models.CharField(blank=True, max_length=32, null=True)),
|
||
|
('desk1_prize_nt', models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True)),
|
||
|
('desk1_prize_ht', models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True)),
|
||
|
('desk2_enable', models.BooleanField()),
|
||
|
('desk2_name', models.CharField(blank=True, max_length=32, null=True)),
|
||
|
('desk2_prize_nt', models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True)),
|
||
|
('desk2_prize_ht', models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True)),
|
||
|
('location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='billard.Location')),
|
||
|
],
|
||
|
),
|
||
|
]
|