summaryrefslogtreecommitdiff
path: root/bak/unused_apps/essays/migrations/0004_auto_20190205_0830.py
blob: 65e2e5d0e59bacc641a86895afb3a8416338c0ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Generated by Django 2.1.5 on 2019-02-05 08:30

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('essays', '0003_essay_afterword_html'),
    ]

    operations = [
        migrations.CreateModel(
            name='PostType',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
                ('dek', models.TextField(blank=True)),
                ('slug', models.SlugField()),
            ],
        ),
        migrations.AlterField(
            model_name='essay',
            name='post_type',
            field=models.IntegerField(choices=[(0, 'essays'), (1, 'tools'), (2, 'figments')], default=0),
        ),
    ]