diff options
Diffstat (limited to 'dichroism/migrations/2020-10-09-210247_photo_sets')
-rw-r--r-- | dichroism/migrations/2020-10-09-210247_photo_sets/down.sql | 1 | ||||
-rw-r--r-- | dichroism/migrations/2020-10-09-210247_photo_sets/up.sql | 12 |
2 files changed, 0 insertions, 13 deletions
diff --git a/dichroism/migrations/2020-10-09-210247_photo_sets/down.sql b/dichroism/migrations/2020-10-09-210247_photo_sets/down.sql deleted file mode 100644 index d02736a..0000000 --- a/dichroism/migrations/2020-10-09-210247_photo_sets/down.sql +++ /dev/null @@ -1 +0,0 @@ -DROP TABLE "photo_sets" diff --git a/dichroism/migrations/2020-10-09-210247_photo_sets/up.sql b/dichroism/migrations/2020-10-09-210247_photo_sets/up.sql deleted file mode 100644 index 98e6050..0000000 --- a/dichroism/migrations/2020-10-09-210247_photo_sets/up.sql +++ /dev/null @@ -1,12 +0,0 @@ -CREATE TABLE "photo_sets" ( - "id" INTEGER NOT NULL, - "base" INTEGER NOT NULL, - "fullsize" INTEGER NOT NULL, - "thumbnail" INTEGER NOT NULL, - "original" INTEGER NOT NULL, - FOREIGN KEY("thumbnail") REFERENCES "photos"("id"), - FOREIGN KEY("original") REFERENCES "photos"("id"), - FOREIGN KEY("base") REFERENCES "photos"("id"), - FOREIGN KEY("fullsize") REFERENCES "photos"("id"), - PRIMARY KEY("id") -) |