# Generated by Django 3.2.12 on 2025-03-25 01:21

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


class Migration(migrations.Migration):

    dependencies = [
        ('wpm', '0103_batchst_material_start'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='batchlog',
            name='source_b',
        ),
        migrations.RemoveField(
            model_name='batchlog',
            name='target_b',
        ),
        migrations.AddField(
            model_name='batchlog',
            name='source',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='batch_s', to='wpm.batchst', verbose_name='来源批次'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='batchlog',
            name='target',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='batch_t', to='wpm.batchst', verbose_name='目标批次'),
            preserve_default=False,
        ),
    ]
