summaryrefslogtreecommitdiff
path: root/program/migrations
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2021-06-15 20:52:55 (GMT)
committerChristian Pointner <equinox@helsinki.at>2021-06-15 20:52:55 (GMT)
commit09276cc47736785e7a2784172a2cf3663de4e57e (patch)
tree202b46bfc67595a64bda7aa4ac359e0957b09189 /program/migrations
parentb2415eb92622563f567106e2c4951ed498273e53 (diff)
parent88fb9a1d5bc7dc5f22d96fcee970f4ec9f88b289 (diff)
Merge branch 'topic/new-show-and-note-images' into stable
Diffstat (limited to 'program/migrations')
-rw-r--r--program/migrations/0013_show_and_note_images.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/program/migrations/0013_show_and_note_images.py b/program/migrations/0013_show_and_note_images.py
new file mode 100644
index 0000000..91a08b0
--- /dev/null
+++ b/program/migrations/0013_show_and_note_images.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import program.models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('program', '0012_add_language'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='show',
+ name='image_enabled',
+ ),
+ migrations.AlterField(
+ model_name='show',
+ name='image',
+ field=models.ImageField(max_length=350, upload_to=program.models.show_image_filename, null=True, verbose_name='Image', blank=True),
+ ),
+ migrations.AddField(
+ model_name='note',
+ name='image',
+ field=models.ImageField(max_length=350, upload_to=program.models.note_image_filename, null=True, verbose_name='Image', blank=True),
+ ),
+ ]