ALTER TABLE matches ADD CONSTRAINT match_unique_name UNIQUE (name);