# Generated by Django 3.1.4 on 2021-07-15 17:08

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0226_auto_20210715_1656'),
    ]

    operations = [
        migrations.CreateModel(
            name='Color',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=20, verbose_name='颜色名称')),
                ('code', models.CharField(max_length=20, verbose_name='颜色代码')),
            ],
            options={
                'verbose_name': '颜色代码',
                'verbose_name_plural': '颜色代码',
            },
        ),
        migrations.AlterField(
            model_name='franchisestatus',
            name='color',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='company.color', verbose_name='图例颜色'),
        ),
    ]
