# Generated by Django 2.2 on 2019-04-27 17:28

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('slug', models.SlugField(max_length=60, unique=True)),
            ],
        ),
        migrations.CreateModel(
            name='Article',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=50)),
                ('thumbnail', models.ImageField(upload_to='article/thumbnails')),
                ('content', models.TextField()),
                ('slug', models.SlugField(max_length=60, unique=True)),
                ('publish_date', models.TimeField(auto_now_add=True)),
                ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='article.Category')),
            ],
        ),
    ]

ee05f8c18c56da018e556a99024f9af1af4fff33
<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='Category', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('name', models.CharField(max_length=50
        )), ('slug', models.SlugField(max_length=60, unique=True))]),
        migrations.CreateModel(name='Article', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('title', models.CharField(max_length=50)), (
        'thumbnail', models.ImageField(upload_to='article/thumbnails')), (
        'content', models.TextField()), ('slug', models.SlugField(
        max_length=60, unique=True)), ('publish_date', models.TimeField(
        auto_now_add=True)), ('category', models.ForeignKey(on_delete=
        django.db.models.deletion.CASCADE, to='article.Category'))])]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Category', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('name', models.CharField(max_length=50
        )), ('slug', models.SlugField(max_length=60, unique=True))]),
        migrations.CreateModel(name='Article', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('title', models.CharField(max_length=50)), (
        'thumbnail', models.ImageField(upload_to='article/thumbnails')), (
        'content', models.TextField()), ('slug', models.SlugField(
        max_length=60, unique=True)), ('publish_date', models.TimeField(
        auto_now_add=True)), ('category', models.ForeignKey(on_delete=
        django.db.models.deletion.CASCADE, to='article.Category'))])]

# Generated by Django 2.2 on 2019-04-27 17:28

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('slug', models.SlugField(max_length=60, unique=True)),
            ],
        ),
        migrations.CreateModel(
            name='Article',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=50)),
                ('thumbnail', models.ImageField(upload_to='article/thumbnails')),
                ('content', models.TextField()),
                ('slug', models.SlugField(max_length=60, unique=True)),
                ('publish_date', models.TimeField(auto_now_add=True)),
                ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='article.Category')),
            ],
        ),
    ]
