# Generated by Django 3.2.10 on 2022-05-24 19:23

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


class Migration(migrations.Migration):

    dependencies = [
        ('products', '0055_auto_20220524_1931'),
    ]

    operations = [
        migrations.RenameField(
            model_name='serialcodebatchoprecord',
            old_name='num_code',
            new_name='batch_size',
        ),
        migrations.RenameField(
            model_name='serialcodebatchoprecord',
            old_name='bind_product_name',
            new_name='product_name',
        ),
        migrations.AddField(
            model_name='serialcodebatchoprecord',
            name='product_page_name',
            field=models.TextField(null=True, verbose_name='页面名称'),
        ),
        migrations.AddField(
            model_name='serialcodebatchoprecord',
            name='tenant',
            field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='code_batch_ops', to='products.tenant'),
            preserve_default=False,
        ),
    ]
