carom-server/billard/migrations/0006_auto_20170206_2031.py

149 lines
5.4 KiB
Python
Raw Permalink Normal View History

2017-02-06 20:32:37 +01:00
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-06 19:31
from __future__ import unicode_literals
2018-02-11 10:56:44 +01:00
import uuid
import django.db.models.deletion
2017-02-06 20:32:37 +01:00
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('billard', '0005_auto_20170206_1926'),
]
operations = [
migrations.AlterModelOptions(
name='accounting',
2018-02-11 10:56:44 +01:00
options={'ordering': ['-time_from'], 'verbose_name': 'Buchhaltungseintrag',
'verbose_name_plural': 'Buchhaltungseinträge'},
2017-02-06 20:32:37 +01:00
),
migrations.AlterModelOptions(
name='client',
options={'verbose_name': 'Client', 'verbose_name_plural': 'Clienten'},
),
migrations.AlterModelOptions(
name='location',
options={'verbose_name': 'Standort', 'verbose_name_plural': 'Standorte'},
),
migrations.AlterModelOptions(
name='locationdata',
options={'verbose_name': 'Standortlog', 'verbose_name_plural': 'Standortlogs'},
),
migrations.AlterField(
model_name='accounting',
name='client',
2018-02-11 10:56:44 +01:00
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='billard.Client',
verbose_name='Client'),
2017-02-06 20:32:37 +01:00
),
migrations.AlterField(
model_name='accounting',
name='desk_no',
field=models.IntegerField(verbose_name='Tischnummer'),
),
migrations.AlterField(
model_name='accounting',
name='prize',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True, verbose_name='Preis'),
),
migrations.AlterField(
model_name='accounting',
name='time_from',
field=models.DateTimeField(verbose_name='Beginn'),
),
migrations.AlterField(
model_name='accounting',
name='time_to',
field=models.DateTimeField(blank=True, null=True, verbose_name='Ende'),
),
migrations.AlterField(
model_name='client',
name='location',
2018-02-11 10:56:44 +01:00
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='billard.Location',
verbose_name='Standort'),
2017-02-06 20:32:37 +01:00
),
migrations.AlterField(
model_name='client',
name='uuid',
field=models.UUIDField(default=uuid.uuid4, unique=True, verbose_name='Identifier'),
),
migrations.AlterField(
model_name='location',
name='city',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='Stadt'),
),
migrations.AlterField(
model_name='location',
name='code',
field=models.CharField(max_length=16, unique=True, verbose_name='Code'),
),
migrations.AlterField(
model_name='location',
name='email',
field=models.EmailField(blank=True, max_length=254, null=True, verbose_name='Email'),
),
migrations.AlterField(
model_name='location',
name='name',
field=models.CharField(max_length=64, unique=True, verbose_name='Name'),
),
migrations.AlterField(
model_name='location',
name='phone',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='Telefon'),
),
migrations.AlterField(
model_name='location',
name='plz',
field=models.CharField(blank=True, max_length=8, null=True, verbose_name='Postleitzahl'),
),
migrations.AlterField(
model_name='location',
name='street',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='Straße'),
),
migrations.AlterField(
model_name='location',
name='url',
field=models.URLField(blank=True, null=True, verbose_name='URL'),
),
migrations.AlterField(
model_name='location',
name='users',
2018-02-11 10:56:44 +01:00
field=models.ManyToManyField(related_name='locations', to=settings.AUTH_USER_MODEL,
verbose_name='Benutzer'),
2017-02-06 20:32:37 +01:00
),
migrations.AlterField(
model_name='locationdata',
name='error_msg',
field=models.TextField(blank=True, null=True, verbose_name='Fehlermeldung'),
),
migrations.AlterField(
model_name='locationdata',
name='location_id',
field=models.UUIDField(verbose_name='Standort-ID'),
),
migrations.AlterField(
model_name='locationdata',
name='on_off',
field=models.BooleanField(verbose_name='Ein/Ausgebucht'),
),
migrations.AlterField(
model_name='locationdata',
name='processed',
field=models.BooleanField(default=False, verbose_name='Verarbeitet'),
),
migrations.AlterField(
model_name='locationdata',
name='table_no',
field=models.IntegerField(verbose_name='Tischnummer'),
),
migrations.AlterField(
model_name='locationdata',
name='tst',
field=models.DateTimeField(verbose_name='Zeitstempel'),
),
]