# Generated by Django 2.1.7 on 2019-11-16 08:24

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


class Migration(migrations.Migration):

    dependencies = [
        ('inventory', '0010_auto_20191115_1005'),
    ]

    operations = [
        migrations.AddField(
            model_name='stkdetails',
            name='store_to',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='inv_detail_store_to', to='inventory.Storehouse', verbose_name='转货目的仓库'),
        ),
        migrations.AlterField(
            model_name='batch',
            name='store_fr',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='batch_fr_store', to='inventory.Storehouse', verbose_name='仓库名称'),
        ),
        migrations.AlterField(
            model_name='batch',
            name='store_to',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='batch_to_store', to='inventory.Storehouse', verbose_name='转货目的仓库'),
        ),
        migrations.AlterField(
            model_name='stkdetails',
            name='store',
            field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='inv_detail_store', to='inventory.Storehouse', verbose_name='仓库名称'),
        ),
        migrations.AlterField(
            model_name='stkdetails',
            name='store_fr',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='inv_detail_store_fr', to='inventory.Storehouse', verbose_name='仓库名称'),
        ),
    ]
