pastebin/migrations/2019-11-24-122254_unique-constraint-languages-identifier/up.sql

4 lines
121 B
MySQL
Raw Normal View History

2019-11-24 12:33:34 +00:00
DROP INDEX languages_identifier_idx;
ALTER TABLE languages ADD CONSTRAINT languages_identifier_key UNIQUE (identifier);