# Generated by Django 3.2.12 on 2025-03-13 08:33

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


class Migration(migrations.Migration):

    dependencies = [
        ('wpm', '0098_auto_20250312_0923'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='mlogb',
            name='mlogb_to',
        ),
        migrations.RemoveField(
            model_name='mlogbw',
            name='mlogb_to',
        ),
        migrations.RemoveField(
            model_name='mlogbw',
            name='mlogbw_to',
        ),
        migrations.AddField(
            model_name='mlogb',
            name='mlogb_from',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='mlogb_from_mlogb', to='wpm.mlogb', verbose_name='来源批'),
        ),
        migrations.AddField(
            model_name='mlogb',
            name='mlogbw_from',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='mlogb_from_mlogb', to='wpm.mlogbw', verbose_name='来源个'),
        ),
        migrations.AlterField(
            model_name='mlogbw',
            name='mlogbw_from',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='w_mlogbw_from', to='wpm.mlogbw', verbose_name='来源个'),
        ),
    ]
