b66387bacb
Product rename (display name / docs / comments / language strings only —
technical element names mokoog/com_mokoog/MokoOG namespace unchanged):
- Replace "MokoJoom" -> "MokoSuite" across 55 files
- Fixes the update-site license lookup in script.php, which matched the
old "%MokoJoomOpenGraph%" name and would never find a "MokoSuite" site
Joomla 6 compatibility:
- script.php: minimumJoomla 4.0.0 -> 6.0.0, minimumPhp 8.1.0 -> 8.2.0,
and actually enforce the Joomla floor in preflight() (was PHP-only)
- Add PKG_MOKOOG_JOOMLA_VERSION_ERROR language strings (en-GB, en-US)
- openapi.yaml + README state Joomla 6.0+ requirement
- Audit confirmed the codebase already uses only Joomla-6-supported APIs
(cherry picked from commit 7fb7e38762)
31 lines
1.4 KiB
SQL
31 lines
1.4 KiB
SQL
--
|
|
-- MokoSuiteOpenGraph - Database Schema
|
|
-- Copyright (C) 2026 Moko Consulting. All rights reserved.
|
|
-- License: GPL-3.0-or-later
|
|
--
|
|
|
|
CREATE TABLE IF NOT EXISTS `#__mokoog_tags` (
|
|
`id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
`content_type` VARCHAR(100) NOT NULL DEFAULT '' COMMENT 'e.g. com_content, menu, com_mokoshop',
|
|
`content_id` INT(11) UNSIGNED NOT NULL DEFAULT 0,
|
|
`og_title` VARCHAR(255) NOT NULL DEFAULT '',
|
|
`og_description` TEXT NOT NULL,
|
|
`og_image` VARCHAR(512) NOT NULL DEFAULT '',
|
|
`og_type` VARCHAR(50) NOT NULL DEFAULT 'article',
|
|
`og_video` VARCHAR(512) NOT NULL DEFAULT '',
|
|
`event_data` TEXT NULL,
|
|
`recipe_data` TEXT NULL,
|
|
`custom_schema` TEXT NULL,
|
|
`seo_title` VARCHAR(70) NOT NULL DEFAULT '',
|
|
`meta_description` VARCHAR(200) NOT NULL DEFAULT '',
|
|
`robots` VARCHAR(100) NOT NULL DEFAULT '',
|
|
`canonical_url` VARCHAR(512) NOT NULL DEFAULT '',
|
|
`language` CHAR(7) NOT NULL DEFAULT '*',
|
|
`published` TINYINT(1) NOT NULL DEFAULT 1,
|
|
`created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
|
`modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `idx_content_lang` (`content_type`, `content_id`, `language`),
|
|
KEY `idx_published` (`published`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|