98ac42c398
Universal: Cascade Main → Dev / Cascade main → branches (push) Successful in 3s
Critical:
- Create missing pkg_mokoog.sys.ini package language file
- Create missing forms/tag.xml and forms/filter_tags.xml for component
- Remove non-existent Service/ folder from component manifest
- Remove non-existent scriptfile from system plugin manifest
Important:
- Remove unused DatabaseAwareTrait from system plugin
- Add Event parameter to onBeforeCompileHead (Joomla 5 SubscriberInterface)
- Guard onContentAfterSave with isClient('administrator') check
- Fix duplicate DEFAULT keyword in SQL CREATE TABLE
- Quote column names with quoteName() in content plugin select
- Remove duplicate language file registration in component manifest
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
992 B
SQL
22 lines
992 B
SQL
--
|
|
-- MokoOpenGraph - 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_virtuemart',
|
|
`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',
|
|
`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` (`content_type`, `content_id`),
|
|
KEY `idx_published` (`published`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|