# Generated by Django 3.2.6 on 2021-09-28 05:55

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


class Migration(migrations.Migration):

    dependencies = [
        ('mtm', '0016_auto_20210917_0900'),
    ]

    operations = [
        migrations.AddField(
            model_name='recordform',
            name='material',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='mtm.material', verbose_name='关联物料'),
        ),
        migrations.AlterField(
            model_name='material',
            name='processes',
            field=models.JSONField(blank=True, default=list, null=True, verbose_name='工艺流程'),
        ),
        migrations.AlterField(
            model_name='recordform',
            name='step',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='mtm.step', verbose_name='关联子工序'),
        ),
        migrations.AlterField(
            model_name='recordform',
            name='type',
            field=models.IntegerField(choices=[(1, '生产记录'), (2, '检验记录')], default=1, verbose_name='表格类型'),
        ),
    ]
