# Generated by Django 3.2.9 on 2021-12-14 04:45

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


class Migration(migrations.Migration):

    dependencies = [
        ('wf', '0018_workflow_key'),
        ('qm', '0018_testrecord_is_submited'),
        ('wpm', '0031_auto_20211209_1638'),
    ]

    operations = [
        migrations.AddField(
            model_name='wproduct',
            name='test',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='wp_test', to='qm.testrecord', verbose_name='当前检验'),
        ),
        migrations.AddField(
            model_name='wproduct',
            name='ticket',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='wp_ticket', to='wf.ticket', verbose_name='当前工单'),
        ),
        migrations.AlterField(
            model_name='wproduct',
            name='operation',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='wp_operation', to='wpm.operation', verbose_name='当前操作'),
        ),
        migrations.AlterField(
            model_name='wprouctticket',
            name='ticket',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='wt_ticket', to='wf.ticket', verbose_name='关联工单'),
        ),
    ]
