# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-04 05:47 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('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)), ('users', models.ManyToManyField(related_name='locations', to=settings.AUTH_USER_MODEL)), ], ), ]