summaryrefslogtreecommitdiff
path: root/app/books/migrations/0011_auto_20200205_1617.py
blob: e0e17b66b206194779c266a979990331e3942df1 (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
# Generated by Django 2.1.2 on 2020-02-05 16:17

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


class Migration(migrations.Migration):

    dependencies = [
        ('books', '0010_auto_20191223_0806'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='bookhighlight',
            options={'get_latest_by': 'date_added', 'ordering': ('-date_added', '-page')},
        ),
        migrations.AlterField(
            model_name='bookhighlight',
            name='book',
            field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='books.Book'),
        ),
        migrations.AlterField(
            model_name='bookhighlight',
            name='page',
            field=models.PositiveSmallIntegerField(),
        ),
    ]