From c7d885e4b8189e4539c1f259a44ec37c6cd027b2 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 2 May 2022 22:32:52 -0400 Subject: feat: reset button read config start db pool and launch axum server --- dichroism/migrations/2020-10-23-010629_photo_sets/down.sql | 1 - dichroism/migrations/2020-10-23-010629_photo_sets/up.sql | 8 -------- dichroism/migrations/2020-10-23-010929_products/down.sql | 1 - dichroism/migrations/2020-10-23-010929_products/up.sql | 12 ------------ 4 files changed, 22 deletions(-) delete mode 100644 dichroism/migrations/2020-10-23-010629_photo_sets/down.sql delete mode 100644 dichroism/migrations/2020-10-23-010629_photo_sets/up.sql delete mode 100644 dichroism/migrations/2020-10-23-010929_products/down.sql delete mode 100644 dichroism/migrations/2020-10-23-010929_products/up.sql (limited to 'dichroism/migrations') 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") -) -- cgit v1.2.3