From 89722ebd6dcdc7067277050a431fbb7b9ea1dcf5 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Wed, 7 Oct 2020 09:37:41 -0400 Subject: sorted out image repo, error handling --- dichroism/migrations/2020-10-04-235458_create_images/up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dichroism/migrations') 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") ) -- cgit v1.2.3