# Generated by Django 2.0.3 on 2019-11-13 09:42

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('nalodeni', '0054_auto_20190412_1852'),
    ]

    operations = [
        migrations.CreateModel(
            name='County',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100, verbose_name='Název')),
                ('zip_prefix', models.CharField(max_length=3, verbose_name='Předčíslí PSČ')),
            ],
            options={
                'ordering': ['name'],
            },
        ),
        migrations.AlterUniqueTogether(
            name='county',
            unique_together={('zip_prefix',)},
        ),
    ]
