33 lines
1.3 KiB
Python
33 lines
1.3 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.10.5 on 2017-02-10 18:30
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('billard', '0006_auto_20170206_2031'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Desk',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('desk_no', models.IntegerField(verbose_name='Tischnummer')),
|
||
|
('name', models.CharField(blank=True, max_length=32, null=True, verbose_name='Tischbezeichnung')),
|
||
|
('enabled', models.BooleanField(verbose_name='Tisch aktiv')),
|
||
|
('prize', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True, verbose_name='Normelpreis')),
|
||
|
('prize_hh', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True, verbose_name='Preis Happy Hour')),
|
||
|
('client', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='billard.Client', verbose_name='Client')),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name_plural': 'Tische',
|
||
|
'verbose_name': 'Tisch',
|
||
|
},
|
||
|
),
|
||
|
]
|