04d1da29d4
- Add language column to #__mokoog_tags (default * for all languages) - Updated unique key to include language - SQL migration 01.02.00 for upgrades - og:locale output from current Joomla language (en-GB to en_GB) - Language-aware OG data loading: exact match preferred over wildcard Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
11 lines
318 B
SQL
11 lines
318 B
SQL
--
|
|
-- 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`);
|