Upgrades and removals.
[wolnelektury.git] / src / catalogue / migrations / 0024_auto_20180510_1407.py
1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
3 #
4 from django.db import migrations, models
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10         ('catalogue', '0023_book_abstract'),
11     ]
12
13     operations = [
14         migrations.AddField(
15             model_name='book',
16             name='preview',
17             field=models.BooleanField(default=False, verbose_name='preview'),
18         ),
19         migrations.AddField(
20             model_name='book',
21             name='preview_until',
22             field=models.DateField(null=True, verbose_name='preview until', blank=True),
23         ),
24     ]