update data model

This commit is contained in:
2017-02-01 13:51:15 +01:00
parent 96dc601542
commit 616fd63bfc
10 changed files with 114 additions and 122 deletions

View File

@@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-01 12:43
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('billard', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Location',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('code', models.CharField(max_length=16, unique=True)),
('name', models.CharField(max_length=64, unique=True)),
('street', models.CharField(blank=True, max_length=64, null=True)),
('plz', models.CharField(blank=True, max_length=8, null=True)),
('city', models.CharField(blank=True, max_length=64, null=True)),
('phone', models.CharField(blank=True, max_length=64, null=True)),
('email', models.EmailField(blank=True, max_length=254, null=True)),
('url', models.URLField(blank=True, null=True)),
],
),
]