# -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-06-10 09:41
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Article',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(blank=True, max_length=500, null=True)),
                ('comment', models.TextField(null=True)),
                ('abstract', models.TextField(null=True)),
                ('create_time', models.DateTimeField(blank=True, default=datetime.datetime.now)),
                ('Status', models.CharField(choices=[('Draft', 'Draft'), ('Complete', 'Complete')], max_length=10)),
            ],
        ),
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=20)),
                ('create_time', models.DateTimeField(blank=True, default=datetime.datetime.now)),
            ],
        ),
        migrations.AddField(
            model_name='article',
            name='category',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='firstapp.Category', verbose_name='Tag'),
        ),
    ]

456c88cc13ce91151cc5ab33afd7f40c6c0ca6ed
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Article', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('title', models.CharField(blank=True,
        max_length=500, null=True)), ('comment', models.TextField(null=True
        )), ('abstract', models.TextField(null=True)), ('create_time',
        models.DateTimeField(blank=True, default=datetime.datetime.now)), (
        'Status', models.CharField(choices=[('Draft', 'Draft'), ('Complete',
        'Complete')], max_length=10))]), migrations.CreateModel(name=
        'Category', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('name',
        models.CharField(max_length=20)), ('create_time', models.
        DateTimeField(blank=True, default=datetime.datetime.now))]),
        migrations.AddField(model_name='article', name='category', field=
        models.ForeignKey(blank=True, null=True, on_delete=django.db.models
        .deletion.CASCADE, to='firstapp.Category', verbose_name='Tag'))]

from __future__ import unicode_literals
import datetime
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Article', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('title', models.CharField(blank=True,
        max_length=500, null=True)), ('comment', models.TextField(null=True
        )), ('abstract', models.TextField(null=True)), ('create_time',
        models.DateTimeField(blank=True, default=datetime.datetime.now)), (
        'Status', models.CharField(choices=[('Draft', 'Draft'), ('Complete',
        'Complete')], max_length=10))]), migrations.CreateModel(name=
        'Category', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('name',
        models.CharField(max_length=20)), ('create_time', models.
        DateTimeField(blank=True, default=datetime.datetime.now))]),
        migrations.AddField(model_name='article', name='category', field=
        models.ForeignKey(blank=True, null=True, on_delete=django.db.models
        .deletion.CASCADE, to='firstapp.Category', verbose_name='Tag'))]

# -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-06-10 09:41
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Article',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(blank=True, max_length=500, null=True)),
                ('comment', models.TextField(null=True)),
                ('abstract', models.TextField(null=True)),
                ('create_time', models.DateTimeField(blank=True, default=datetime.datetime.now)),
                ('Status', models.CharField(choices=[('Draft', 'Draft'), ('Complete', 'Complete')], max_length=10)),
            ],
        ),
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=20)),
                ('create_time', models.DateTimeField(blank=True, default=datetime.datetime.now)),
            ],
        ),
        migrations.AddField(
            model_name='article',
            name='category',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='firstapp.Category', verbose_name='Tag'),
        ),
    ]
