# Generated by Django 3.1.7 on 2021-03-08 14:28

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


class Migration(migrations.Migration):

    dependencies = [
        ('contenttypes', '0002_remove_content_type_name'),
        ('alabuga', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Brand',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('mark_name', models.CharField(max_length=128, verbose_name='brand name')),
                ('obj_id', models.CharField(blank=True, max_length=64, null=True)),
                ('c_type', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='contenttypes.contenttype')),
                ('region', models.ManyToManyField(related_name='region_quality_mark', to='alabuga.Region')),
                ('sub_region', models.ManyToManyField(related_name='sub_region_quality_mark', to='alabuga.SubRegion')),
            ],
        ),
        migrations.AlterField(
            model_name='main',
            name='mark',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='main_mark', to='alabuga.brand'),
        ),
        migrations.DeleteModel(
            name='Geographic_Quality_Mark',
        ),
    ]
