2017-02-01 13:51:15 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
2017-02-04 06:51:09 +01:00
|
|
|
# Generated by Django 1.10.5 on 2017-02-04 05:48
|
2017-02-01 13:51:15 +01:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
2017-02-01 17:52:16 +01:00
|
|
|
import uuid
|
2017-02-01 13:51:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('billard', '0002_location'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Client',
|
|
|
|
fields=[
|
2017-02-01 17:52:16 +01:00
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
('uuid', models.UUIDField(default=uuid.uuid4, unique=True)),
|
2017-02-01 13:51:15 +01:00
|
|
|
('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')),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|