summaryrefslogtreecommitdiff
path: root/dichroism/migrations/2020-10-23-010929_products
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-11-11 20:07:12 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-11-11 20:07:12 -0500
commit7381a7033231e6454a37fd64b1f3de4e8d59355f (patch)
tree7ae54976c2d036e0fe7cb199a7f6facdd09bbb6d /dichroism/migrations/2020-10-23-010929_products
parentc5280144de096c274f185fade287ccd63b954ceb (diff)
downloadtheglassyladies-7381a7033231e6454a37fd64b1f3de4e8d59355f.tar.xz
theglassyladies-7381a7033231e6454a37fd64b1f3de4e8d59355f.zip
Kind of flailing with the UI; lots of API bugfixes though.
Diffstat (limited to 'dichroism/migrations/2020-10-23-010929_products')
-rw-r--r--dichroism/migrations/2020-10-23-010929_products/up.sql5
1 files changed, 2 insertions, 3 deletions
diff --git a/dichroism/migrations/2020-10-23-010929_products/up.sql b/dichroism/migrations/2020-10-23-010929_products/up.sql
index 72a7750..36e3a82 100644
--- a/dichroism/migrations/2020-10-23-010929_products/up.sql
+++ b/dichroism/migrations/2020-10-23-010929_products/up.sql
@@ -6,8 +6,7 @@ CREATE TABLE "products" (
"name" TEXT NOT NULL,
"description" TEXT NOT NULL,
"featured" INTEGER NOT NULL,
- "category" INTEGER NOT NULL,
+ "category" TEXT NOT NULL,
PRIMARY KEY("id"),
- FOREIGN KEY("photo_set") REFERENCES "photo_sets"("id"),
- FOREIGN KEY("category") REFERENCES "categories"("id")
+ FOREIGN KEY("photo_set") REFERENCES "photo_sets"("id")
)