# Generated by Django 3.0.7 on 2020-08-06 09:22

import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('crm', '0011_enterprise_parent'),
        ('project', '0007_auto_20200806_1625'),
    ]

    operations = [
        migrations.AddField(
            model_name='subapplication',
            name='cert_field_code',
            field=models.CharField(default='CCC', max_length=50, verbose_name='认证领域代号'),
        ),
        migrations.AddField(
            model_name='subapplication',
            name='factory',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='subapplication_factory', to='crm.Enterprise'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='subapplication',
            name='factory_v',
            field=django.contrib.postgres.fields.jsonb.JSONField(default={}, verbose_name='生产厂'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='subapplication',
            name='manufacture',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='subapplication_manufacture', to='crm.Enterprise'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='subapplication',
            name='manufacture_v',
            field=django.contrib.postgres.fields.jsonb.JSONField(default={}, verbose_name='制造商'),
            preserve_default=False,
        ),
    ]
