diff --git a/source/packages/com_mokosuiteclient/admin/sql/updates/mysql/02.52.00.sql b/source/packages/com_mokosuiteclient/admin/sql/updates/mysql/02.52.00.sql new file mode 100644 index 00000000..f343750d --- /dev/null +++ b/source/packages/com_mokosuiteclient/admin/sql/updates/mysql/02.52.00.sql @@ -0,0 +1,11 @@ +-- 02.52.00 — Create license cache table (missing from prior migrations) +-- This table was in install.mysql.sql but never had an update file, +-- so existing installs never received it. + +CREATE TABLE IF NOT EXISTS `#__mokosuite_license_cache` ( + `dlid_hash` CHAR(64) NOT NULL COMMENT 'SHA-256 of DLID (never store raw DLID)', + `response_data` TEXT NOT NULL COMMENT 'JSON validation response from MokoGitea', + `checked_at` DATETIME NOT NULL, + PRIMARY KEY (`dlid_hash`), + KEY `idx_checked` (`checked_at`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;