book previews - draft (no payments yet)
[wolnelektury.git] / src / catalogue / migrations / 0024_auto_20180510_1407.py
diff --git a/src/catalogue/migrations/0024_auto_20180510_1407.py b/src/catalogue/migrations/0024_auto_20180510_1407.py
new file mode 100644 (file)
index 0000000..819bf26
--- /dev/null
@@ -0,0 +1,24 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('catalogue', '0023_book_abstract'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='book',
+            name='preview',
+            field=models.BooleanField(default=False, verbose_name='preview'),
+        ),
+        migrations.AddField(
+            model_name='book',
+            name='preview_until',
+            field=models.DateField(null=True, verbose_name='preview until', blank=True),
+        ),
+    ]