carom-server/billard/migrations/0003_client.py
2018-02-11 10:56:44 +01:00

34 lines
1.5 KiB
Python

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