From ff679b30d8f9cd90f9ce2cd802105d4673d3531c Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sun, 17 Jan 2021 04:41:05 +0000 Subject: [PATCH] Capitalize the UNIQUE keyword --- migration/tags.4.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/tags.4.cr b/migration/tags.4.cr index af9906c..0518ecd 100644 --- a/migration/tags.4.cr +++ b/migration/tags.4.cr @@ -4,7 +4,7 @@ class CreateTags < MG::Base CREATE TABLE IF NOT EXISTS tags ( id TEXT NOT NULL, tag TEXT NOT NULL, - unique (id, tag) + UNIQUE (id, tag) ); CREATE INDEX IF NOT EXISTS tags_id_idx ON tags (id); CREATE INDEX IF NOT EXISTS tags_tag_idx ON tags (tag);