text: # Generated by Django 2.0.1 on 2019-06-13 03:06
  
  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(max_length=100)),
                  ('content', models.CharField(max_length=500)),
                  ('created_time', models.DateTimeField(auto_now_add=True)),
              ],
          ),
          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)),
              ],
          ),
          migrations.AddField(
              model_name='article',
              name='category',
              field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.SET_DEFAULT, to='blog.Category'),
          ),
      ]
  