-- Deploy gaia:channel_2016_12_20_add_unique_for_channel_and_version to mysql

BEGIN;

ALTER TABLE `channel_channel` ADD CONSTRAINT `uniq_channel_channel_url_name` UNIQUE (`url_name`);
ALTER TABLE `channel_version` ADD CONSTRAINT `uniq_channel_version_version` UNIQUE (`version`);

COMMIT;
