summaryrefslogtreecommitdiff
path: root/app/posts/migrations/0002_auto_20190917_2029.py
blob: c6f77ebccf1bb41f6e05e873fc0b404b1f3887f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Generated by Django 2.1.7 on 2019-09-17 20:29

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('posts', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='post',
            options={'get_latest_by': 'pub_date', 'ordering': ('-pub_date',)},
        ),
        migrations.AddField(
            model_name='post',
            name='old_id',
            field=models.IntegerField(blank=True, null=True),
        ),
    ]