--
-- MokoOpenGraph 01.02.00 — Add multilingual OG tag support
--

ALTER TABLE `#__mokoog_tags`
    ADD COLUMN `language` CHAR(7) NOT NULL DEFAULT '*' AFTER `canonical_url`;

ALTER TABLE `#__mokoog_tags`
    DROP INDEX `idx_content`,
    ADD UNIQUE KEY `idx_content_lang` (`content_type`, `content_id`, `language`);
