summaryrefslogtreecommitdiff
path: root/dichroism/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'dichroism/migrations')
-rw-r--r--dichroism/migrations/2020-10-04-235458_create_images/up.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/dichroism/migrations/2020-10-04-235458_create_images/up.sql b/dichroism/migrations/2020-10-04-235458_create_images/up.sql
index 7e92e57..ba3b4c6 100644
--- a/dichroism/migrations/2020-10-04-235458_create_images/up.sql
+++ b/dichroism/migrations/2020-10-04-235458_create_images/up.sql
@@ -1,5 +1,5 @@
CREATE TABLE "images" (
"id" INTEGER NOT NULL,
- "path" TEXT NOT NULL,
+ "path" TEXT NOT NULL UNIQUE,
PRIMARY KEY("id")
)