summaryrefslogtreecommitdiff
path: root/dichroism/migrations/2020-10-04-235458_create_images
diff options
context:
space:
mode:
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")
+)