# Generated by Django 2.2.4 on 2019-12-03 15:14

import datetime
from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
from django.utils.timezone import utc


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('webmap', '0018_auto_20191029_1410'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='aliasforcategory',
            options={'verbose_name': 'default category name', 'verbose_name_plural': 'Rename default categories'},
        ),
        migrations.AddField(
            model_name='category',
            name='owner',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterField(
            model_name='aliasforcategory',
            name='alias_name',
            field=models.CharField(max_length=100, verbose_name='Category Name'),
        ),
        migrations.AlterField(
            model_name='aliasforcategory',
            name='category',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='webmap.Category'),
        ),
        migrations.AlterField(
            model_name='basemap',
            name='name',
            field=models.CharField(max_length=40, unique=True, validators=[django.core.validators.RegexValidator('^[A-Z][a-zA-Z0-9 ]*$', 'Must start with A-Z and contain only letters, numbers and space.')]),
        ),
        migrations.AlterField(
            model_name='cartooverlay',
            name='name',
            field=models.CharField(max_length=40, unique=True, validators=[django.core.validators.RegexValidator('^[A-Z][a-zA-Z0-9 ]*$', 'Must start with A-Z and contain only letters, numbers and space.')]),
        ),
        migrations.AlterField(
            model_name='folder',
            name='created',
            field=models.DateTimeField(default=datetime.datetime(2019, 12, 3, 15, 14, 46, 441352, tzinfo=utc), editable=False),
        ),
    ]
