From 2a1a8070997cfc1aae5f1e04688767fde2416e0d Mon Sep 17 00:00:00 2001 From: Alex Trofimov Date: Wed, 17 Nov 2021 12:41:20 +1100 Subject: [PATCH] Upgrade script from 12.1.0 to 13.0.0-A1 --- upgrade/files/12.1.0-13.0.0.A1/script.php | 25 +++++++++++++++++++++++ upgrade/files/12.1.0-13.0.0.A1/sql.sql | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/upgrade/files/12.1.0-13.0.0.A1/script.php b/upgrade/files/12.1.0-13.0.0.A1/script.php index e4d8c547d7..860f1375c6 100644 --- a/upgrade/files/12.1.0-13.0.0.A1/script.php +++ b/upgrade/files/12.1.0-13.0.0.A1/script.php @@ -1,5 +1,30 @@ oDb->isFieldExists('sys_modules', 'updated')) $this->oDb->query("ALTER TABLE `sys_modules` ADD `updated` int(11) unsigned NOT NULL default '0' AFTER `hash`"); diff --git a/upgrade/files/12.1.0-13.0.0.A1/sql.sql b/upgrade/files/12.1.0-13.0.0.A1/sql.sql index 8fe96b724c..038430a087 100644 --- a/upgrade/files/12.1.0-13.0.0.A1/sql.sql +++ b/upgrade/files/12.1.0-13.0.0.A1/sql.sql @@ -55,7 +55,7 @@ DELETE FROM `sys_options` WHERE `name` IN('sys_site_cover_disabled'); INSERT INTO `sys_options`(`category_id`, `name`, `caption`, `value`, `type`, `extra`, `check`, `check_error`, `order`) VALUES (@iCategoryIdSystem, 'sys_site_cover_disabled', '', '', 'checkbox', '', '', '', 29); -UPDATE `sys_options` SET `value` = 'sys_oembed' WHERE `name` = 'sys_embed_default' AND `value` = ''; +UPDATE `sys_options` SET `value` = 'sys_iframely' WHERE `name` = 'sys_embed_default' AND `value` = ''; -- ACL