Capitalize the UNIQUE keyword

This commit is contained in:
Alex Ling 2021-01-17 04:41:05 +00:00
parent f7a360c2d8
commit ff679b30d8

View File

@ -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);