summaryrefslogtreecommitdiff
path: root/dichroism/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'dichroism/migrations')
-rw-r--r--dichroism/migrations/2020-10-23-010629_photo_sets/down.sql1
-rw-r--r--dichroism/migrations/2020-10-23-010629_photo_sets/up.sql8
-rw-r--r--dichroism/migrations/2020-10-23-010929_products/down.sql1
-rw-r--r--dichroism/migrations/2020-10-23-010929_products/up.sql12
4 files changed, 0 insertions, 22 deletions
diff --git a/dichroism/migrations/2020-10-23-010629_photo_sets/down.sql b/dichroism/migrations/2020-10-23-010629_photo_sets/down.sql
deleted file mode 100644
index d02736a..0000000
--- a/dichroism/migrations/2020-10-23-010629_photo_sets/down.sql
+++ /dev/null
@@ -1 +0,0 @@
-DROP TABLE "photo_sets"
diff --git a/dichroism/migrations/2020-10-23-010629_photo_sets/up.sql b/dichroism/migrations/2020-10-23-010629_photo_sets/up.sql
deleted file mode 100644
index ed10670..0000000
--- a/dichroism/migrations/2020-10-23-010629_photo_sets/up.sql
+++ /dev/null
@@ -1,8 +0,0 @@
-CREATE TABLE "photo_sets" (
- "id" INTEGER NOT NULL,
- "base" TEXT NOT NULL,
- "fullsize" TEXT NOT NULL,
- "thumbnail" TEXT NOT NULL,
- "original" TEXT NOT NULL,
- PRIMARY KEY("id")
-)
diff --git a/dichroism/migrations/2020-10-23-010929_products/down.sql b/dichroism/migrations/2020-10-23-010929_products/down.sql
deleted file mode 100644
index f800c5c..0000000
--- a/dichroism/migrations/2020-10-23-010929_products/down.sql
+++ /dev/null
@@ -1 +0,0 @@
-DROP TABLE "products"
diff --git a/dichroism/migrations/2020-10-23-010929_products/up.sql b/dichroism/migrations/2020-10-23-010929_products/up.sql
deleted file mode 100644
index 36e3a82..0000000
--- a/dichroism/migrations/2020-10-23-010929_products/up.sql
+++ /dev/null
@@ -1,12 +0,0 @@
-CREATE TABLE "products" (
- "id" INTEGER NOT NULL,
- "photo_set" INTEGER NOT NULL,
- "cents" INTEGER NOT NULL,
- "quantity" INTEGER NOT NULL,
- "name" TEXT NOT NULL,
- "description" TEXT NOT NULL,
- "featured" INTEGER NOT NULL,
- "category" TEXT NOT NULL,
- PRIMARY KEY("id"),
- FOREIGN KEY("photo_set") REFERENCES "photo_sets"("id")
-)