# Generated by Django 3.2.12 on 2023-10-16 08:48

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


class Migration(migrations.Migration):

    dependencies = [
        ('mtm', '0016_auto_20231016_1648'),
        ('pm', '0005_alter_mtask_state'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='mtask',
            name='material',
        ),
        migrations.RemoveField(
            model_name='mtask',
            name='material_before',
        ),
        migrations.AddField(
            model_name='mtask',
            name='material_in',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='mtask_material_in', to='mtm.material', verbose_name='领用物'),
        ),
        migrations.AddField(
            model_name='mtask',
            name='material_out',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='mtask_material_out', to='mtm.material', verbose_name='产物'),
            preserve_default=False,
        ),
    ]
