# Generated by Django 2.1.7 on 2020-06-26 10:33

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


class Migration(migrations.Migration):

    dependencies = [
        ('sales', '0010_auto_20200625_1503'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='activities',
            name='ancestor_id',
        ),
        migrations.RemoveField(
            model_name='activities',
            name='sql_condition',
        ),
        migrations.RemoveField(
            model_name='award',
            name='ancestor_id',
        ),
        migrations.RemoveField(
            model_name='wxofficialaccounts',
            name='ancestor_id',
        ),
        migrations.AddField(
            model_name='lotteryseeds',
            name='award',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='lotterySeeds_award', to='sales.Award', verbose_name='奖品名称'),
        ),
        migrations.AlterField(
            model_name='activities',
            name='scheme',
            field=models.SmallIntegerField(choices=[(1, '概率抽奖'), (2, '奖池指定')], default=1, verbose_name='中奖方案'),
        ),
        migrations.AlterField(
            model_name='activityawards',
            name='rate',
            field=models.DecimalField(blank=True, decimal_places=2, max_digits=6, null=True, verbose_name='中奖概率'),
        ),
    ]
