summaryrefslogtreecommitdiff
path: root/app/pages/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-25 15:04:32 -0500
committerluxagraf <sng@luxagraf.net>2020-11-25 15:04:32 -0500
commitef650eac7c46701974695868101e465308215c6a (patch)
tree58c9e2e334b0a194a452c6257d20dd47fd3f1da4 /app/pages/migrations
parentf9f2ef6d817ea34299521e10ba5a559b9879d773 (diff)
added featured image to pages
Diffstat (limited to 'app/pages/migrations')
-rw-r--r--app/pages/migrations/0010_page_featured_image.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/pages/migrations/0010_page_featured_image.py b/app/pages/migrations/0010_page_featured_image.py
new file mode 100644
index 0000000..931403f
--- /dev/null
+++ b/app/pages/migrations/0010_page_featured_image.py
@@ -0,0 +1,20 @@
+# Generated by Django 3.1 on 2020-11-25 15:02
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('photos', '0019_auto_20190704_0903'),
+ ('pages', '0009_page_site'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='page',
+ name='featured_image',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='photos.luximage'),
+ ),
+ ]