# Generated by Django 3.2.9 on 2021-12-02 08:20

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


class Migration(migrations.Migration):

    dependencies = [
        ('mtm', '0040_material_piece_count'),
        ('qm', '0012_alter_testrecorditem_field_type'),
    ]

    operations = [
        migrations.AddField(
            model_name='testrecord',
            name='step',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='mtm.step', verbose_name='关联的工序步骤'),
        ),
        migrations.AddField(
            model_name='testrecord',
            name='test_record',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='qm.testrecord', verbose_name='关联检验记录'),
        ),
        migrations.AddField(
            model_name='testrecord',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(10, '子工序检验'), (20, '工序检验'), (30, '工序复检'), (40, '成品检验')], default=20),
        ),
    ]
