# Generated by Django 3.2.12 on 2025-01-07 06:23

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


class Migration(migrations.Migration):

    dependencies = [
        ('wpm', '0080_mlogb_mlogb_to'),
    ]

    operations = [
        migrations.AddField(
            model_name='mlogb',
            name='parent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='mlogb_parent', to='wpm.mlogb', verbose_name='父级物料'),
        ),
        migrations.AlterField(
            model_name='mlogb',
            name='mlogb_to',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='mlogb_to_mlogb', to='wpm.mlogb', verbose_name='生成的'),
        ),
    ]
