# Generated by Django 2.1.7 on 2020-11-12 15:51

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('sales', '0077_auto_20201109_1339'),
    ]

    operations = [
        migrations.AddField(
            model_name='labelscan',
            name='from_wx_official_account',
            field=models.BooleanField(db_index=True, default=False, verbose_name='请求是否自微信公众号'),
        ),
        migrations.AddField(
            model_name='labelscan',
            name='ip',
            field=models.GenericIPAddressField(blank=True, null=True, verbose_name='IP地址'),
        ),
        migrations.AddField(
            model_name='labelscan',
            name='scan_type',
            field=models.SmallIntegerField(choices=[(1, '消费者扫码'), (2, '防伪查询')], db_index=True, default=1, verbose_name='扫码类型'),
        ),
        migrations.AlterField(
            model_name='labelscan',
            name='city',
            field=models.CharField(blank=True, db_index=True, max_length=50, null=True, verbose_name='城市'),
        ),
        migrations.AlterField(
            model_name='labelscan',
            name='province',
            field=models.CharField(blank=True, db_index=True, max_length=100, null=True, verbose_name='省份'),
        ),
    ]
