# Generated by Django 5.2.8 on 2026-01-14 11:05

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


class Migration(migrations.Migration):

    dependencies = [
        ('shipment', '0004_add_external_finished_product_and_shipment_status'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='shipment',
            name='external_finished_product',
        ),
        migrations.AddField(
            model_name='externalfinishedproduct',
            name='shipment',
            field=models.ForeignKey(blank=True, help_text='关联的出货单（可空，兼容历史数据/逐步迁移）', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='external_finished_products', to='shipment.shipment', verbose_name='出货单'),
        ),
    ]
