summaryrefslogtreecommitdiff
path: root/app/guides/migrations/0004_auto_20190914_0646.py
blob: ccd79a54bfc2302aef21c8eaf047eb78beb1d8a4 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Generated by Django 2.1.7 on 2019-09-14 06:46

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('guides', '0003_guide_category'),
    ]

    operations = [
        migrations.RenameField(
            model_name='guide',
            old_name='afterword',
            new_name='epilogue_html',
        ),
        migrations.RenameField(
            model_name='guide',
            old_name='afterword_html',
            new_name='epilogue_markdown',
        ),
        migrations.RenameField(
            model_name='guide',
            old_name='preamble_html',
            new_name='prologue_html',
        ),
        migrations.RenameField(
            model_name='guide',
            old_name='preamble_markdown',
            new_name='prologue_markdown',
        ),
        migrations.RemoveField(
            model_name='guide',
            name='essays',
        ),
        migrations.AddField(
            model_name='guide',
            name='disclaimer',
            field=models.BooleanField(blank=True, default=False),
        ),
        migrations.AddField(
            model_name='guide',
            name='post_type',
            field=models.IntegerField(choices=[(0, 'guide'), (1, 'review')], default=0),
        ),
    ]