# Generated by Django 2.2.7 on 2020-03-03 13:08

import datetime
from django.conf import settings
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', '0019_auto_20191203_1514'),
    ]

    operations = [
        migrations.CreateModel(
            name='PinIcon',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('icon', models.ImageField(upload_to='icons')),
            ],
            options={
                'verbose_name_plural': 'Pin icons',
            },
        ),
        migrations.CreateModel(
            name='Profile',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('colorBlind', models.BooleanField(default=False)),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AlterField(
            model_name='category',
            name='pin_icon',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.PROTECT, to='webmap.PinIcon'),
        ),
    ]
