summaryrefslogtreecommitdiff
path: root/app/media/migrations/0003_auto_20201201_2125.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/media/migrations/0003_auto_20201201_2125.py')
-rw-r--r--app/media/migrations/0003_auto_20201201_2125.py65
1 files changed, 65 insertions, 0 deletions
diff --git a/app/media/migrations/0003_auto_20201201_2125.py b/app/media/migrations/0003_auto_20201201_2125.py
new file mode 100644
index 0000000..498232a
--- /dev/null
+++ b/app/media/migrations/0003_auto_20201201_2125.py
@@ -0,0 +1,65 @@
+# Generated by Django 3.1 on 2020-12-01 21:25
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('media', '0002_auto_20201201_2122'),
+ ]
+
+ operations = [
+ migrations.RunSQL("""
+ INSERT INTO media_luximage (
+ id,
+ image,
+ title,
+ alt,
+ photo_credit_source,
+ photo_credit_url,
+ caption,
+ pub_date,
+ exif_raw,
+ exif_aperture,
+ exif_make,
+ exif_model,
+ exif_exposure,
+ exif_iso,
+ exif_focal_length,
+ exif_lens,
+ exif_date,
+ height,
+ width,
+ point,
+ location_id,
+ is_public
+ )
+ SELECT
+ id,
+ image,
+ title,
+ alt,
+ photo_credit_source,
+ photo_credit_url,
+ caption,
+ pub_date,
+ exif_raw,
+ exif_aperture,
+ exif_make,
+ exif_model,
+ exif_exposure,
+ exif_iso,
+ exif_focal_length,
+ exif_lens,
+ exif_date,
+ height,
+ width,
+ point,
+ location_id,
+ is_public
+ FROM
+ photos_luximage;
+ """),
+ ]
+