From 743ae22168b1fcdf2e1e54bcadbb1bb3fce3370d Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 5 Oct 2020 22:05:58 -0400 Subject: started work on schema, models, and repos --- dichroism/migrations/2020-10-04-235458_create_images/down.sql | 1 + dichroism/migrations/2020-10-04-235458_create_images/up.sql | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 dichroism/migrations/2020-10-04-235458_create_images/down.sql create mode 100644 dichroism/migrations/2020-10-04-235458_create_images/up.sql (limited to 'dichroism/migrations/2020-10-04-235458_create_images') diff --git a/dichroism/migrations/2020-10-04-235458_create_images/down.sql b/dichroism/migrations/2020-10-04-235458_create_images/down.sql new file mode 100644 index 0000000..bc3690f --- /dev/null +++ b/dichroism/migrations/2020-10-04-235458_create_images/down.sql @@ -0,0 +1 @@ +DROP TABLE "images" diff --git a/dichroism/migrations/2020-10-04-235458_create_images/up.sql b/dichroism/migrations/2020-10-04-235458_create_images/up.sql new file mode 100644 index 0000000..7e92e57 --- /dev/null +++ b/dichroism/migrations/2020-10-04-235458_create_images/up.sql @@ -0,0 +1,5 @@ +CREATE TABLE "images" ( + "id" INTEGER NOT NULL, + "path" TEXT NOT NULL, + PRIMARY KEY("id") +) -- cgit v1.2.3