# Generated by Django 3.1.4 on 2021-10-20 13:28

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('inventory', '0112_stkclosingcurrent_company'),
    ]

    operations = [
        migrations.RenameField(
            model_name='stkclosingbatch',
            old_name='stkperiod',
            new_name='stkclosing',
        ),
        migrations.RenameField(
            model_name='stkclosingbatch',
            old_name='store',
            new_name='store_id',
        ),
        migrations.RenameField(
            model_name='stkclosingbatchdetails',
            old_name='stkperiod',
            new_name='stkclosing',
        ),
        migrations.RenameField(
            model_name='stkclosingbatchdetails',
            old_name='store',
            new_name='store_id',
        ),
        migrations.RenameField(
            model_name='stkclosingcurrent',
            old_name='stkperiod',
            new_name='stkclosing',
        ),
        migrations.RenameField(
            model_name='stkclosingstkdetails',
            old_name='stkperiod',
            new_name='stkclosing',
        ),
        migrations.RenameField(
            model_name='stkclosingtt',
            old_name='store',
            new_name='store_id',
        ),
        migrations.RemoveField(
            model_name='stkclosingstkdetails',
            name='store',
        ),
        migrations.AddField(
            model_name='stkclosingstkdetails',
            name='qty',
            field=models.SmallIntegerField(default=0, verbose_name='数量'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='stkclosingstkdetails',
            name='store_id',
            field=models.IntegerField(db_index=True, default=0, verbose_name='仓库ID'),
        ),
    ]
