summaryrefslogtreecommitdiff
path: root/dichroism/migrations/2020-10-04-235458_create_images
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-10-05 22:05:58 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-10-05 22:05:58 -0400
commit743ae22168b1fcdf2e1e54bcadbb1bb3fce3370d (patch)
tree3d393ff1ffd06d1bf470430b2316f46000794806 /dichroism/migrations/2020-10-04-235458_create_images
parentf8bf353073220ce329d8eb347e3574d5793b6d26 (diff)
downloadtheglassyladies-743ae22168b1fcdf2e1e54bcadbb1bb3fce3370d.tar.xz
theglassyladies-743ae22168b1fcdf2e1e54bcadbb1bb3fce3370d.zip
started work on schema, models, and repos
Diffstat (limited to 'dichroism/migrations/2020-10-04-235458_create_images')
-rw-r--r--dichroism/migrations/2020-10-04-235458_create_images/down.sql1
-rw-r--r--dichroism/migrations/2020-10-04-235458_create_images/up.sql5
2 files changed, 6 insertions, 0 deletions
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")
+)