From 7381a7033231e6454a37fd64b1f3de4e8d59355f Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Wed, 11 Nov 2020 20:07:12 -0500 Subject: Kind of flailing with the UI; lots of API bugfixes though. --- dichroism/migrations/2020-10-23-010929_products/up.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dichroism/migrations/2020-10-23-010929_products') 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") ) -- cgit v1.2.3