# Generated by Django 2.1.2 on 2018-10-31 07:03

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


class Migration(migrations.Migration):

    dependencies = [
        ('sites', '0002_alter_domain_unique'),
        ('system', '0002_auto_20181023_1435'),
    ]

    operations = [
        migrations.CreateModel(
            name='BaiduPushLog',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(blank=True, max_length=255, null=True, verbose_name='文章标题')),
                ('url', models.CharField(blank=True, max_length=255, null=True, verbose_name='推送URL')),
                ('status', models.BooleanField(choices=[(True, '成功'), (False, '失败')], verbose_name='状态')),
                ('created', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('updated', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
                ('site', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='sites.Site')),
            ],
            options={
                'verbose_name': '百度推送记录',
                'verbose_name_plural': '百度推送记录',
                'db_table': 'sys_baidu_push_log',
                'ordering': ['-id'],
            },
        ),
        migrations.RemoveField(
            model_name='siteproperty',
            name='type',
        ),
        migrations.AddField(
            model_name='siteproperty',
            name='baidu_site_token',
            field=models.CharField(blank=True, max_length=64, null=True, verbose_name='站点Token'),
        ),
        migrations.AddField(
            model_name='siteproperty',
            name='scheme',
            field=models.BooleanField(default=True, verbose_name='HTTPS'),
        ),
        migrations.AlterField(
            model_name='menu',
            name='status',
            field=models.IntegerField(choices=[(2, '隐藏'), (1, '显示')], default=1, verbose_name='状态'),
        ),
        migrations.AlterField(
            model_name='menu',
            name='type',
            field=models.IntegerField(choices=[(3, '论坛'), (1, '店铺'), (2, '文章')], default=1, verbose_name='类别'),
        ),
    ]
