text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.3 on 2018-03-10 12:27
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('blog', '0002_auto_20180310_1024'),
      ]
  
      operations = [
          migrations.AddField(
              model_name='post',
              name='pv',
              field=models.PositiveIntegerField(default=0, verbose_name='pv'),
          ),
          migrations.AddField(
              model_name='post',
              name='uv',
              field=models.PositiveIntegerField(default=0, verbose_name='uv'),
          ),
          migrations.AlterField(
              model_name='category',
              name='created_time',
              field=models.DateTimeField(auto_now_add=True, verbose_name='创建时间'),
          ),
          migrations.AlterField(
              model_name='category',
              name='is_nav',
              field=models.BooleanField(default=False, verbose_name='是否为导航'),
          ),
          migrations.AlterField(
              model_name='category',
              name='name',
              field=models.CharField(max_length=128, verbose_name='名字'),
          ),
          migrations.AlterField(
              model_name='category',
              name='status',
              field=models.PositiveIntegerField(choices=[(1, '正常'), (2, '删除')], default=1, verbose_name='状态'),
          ),
          migrations.AlterField(
              model_name='category',
              name='user',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='作者'),
          ),
          migrations.AlterField(
              model_name='post',
              name='category',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='blog.Category', verbose_name='分类'),
          ),
          migrations.AlterField(
              model_name='post',
              name='content',
              field=models.TextField(help_text='正文必须是MarkDown', verbose_name='正文'),
          ),
          migrations.AlterField(
              model_name='post',
              name='created_time',
              field=models.DateTimeField(auto_now_add=True, verbose_name='创建时间'),
          ),
          migrations.AlterField(
              model_name='post',
              name='desc',
              field=models.CharField(blank=True, max_length=1024, verbose_name='摘要'),
          ),
          migrations.AlterField(
              model_name='post',
              name='is_markdown',
              field=models.BooleanField(default=True, verbose_name='使用markdown'),
          ),
          migrations.AlterField(
              model_name='post',
              name='last_update_time',
              field=models.DateTimeField(auto_now=True, verbose_name='最后修改时间'),
          ),
          migrations.AlterField(
              model_name='post',
              name='status',
              field=models.PositiveIntegerField(choices=[(1, '上线'), (2, '删除')], default=1, verbose_name='状态'),
          ),
          migrations.AlterField(
              model_name='post',
              name='tag',
              field=models.ManyToManyField(related_name='posts', to='blog.Tag', verbose_name='标签'),
          ),
          migrations.AlterField(
              model_name='post',
              name='title',
              field=models.CharField(max_length=128, verbose_name='标题'),
          ),
          migrations.AlterField(
              model_name='post',
              name='user',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='作者'),
          ),
          migrations.AlterField(
              model_name='tag',
              name='created_time',
              field=models.DateTimeField(auto_now_add=True, verbose_name='创建时间'),
          ),
          migrations.AlterField(
              model_name='tag',
              name='name',
              field=models.CharField(max_length=128, verbose_name='名字'),
          ),
          migrations.AlterField(
              model_name='tag',
              name='status',
              field=models.PositiveIntegerField(choices=[(1, '正常'), (2, '删除')], default=1, verbose_name='状态'),
          ),
          migrations.AlterField(
              model_name='tag',
              name='user',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='作者'),
          ),
      ]
  