|
|
@@ -294,11 +294,10 @@ SET @iCategoryId = LAST_INSERT_ID();
|
|
|
INSERT INTO `sys_options`(`category_id`, `name`, `caption`, `value`, `type`, `extra`, `check`, `check_params`, `check_error`, `order`) VALUES
|
|
|
(@iCategoryId, 'sys_cron_time', '_adm_stg_cpt_option_sys_cron_time', '0', 'digit', '', '', '', '', 2),
|
|
|
(@iCategoryId, 'sys_install_time', '_adm_stg_cpt_option_sys_install_time', '0', 'digit', '', '', '', '', 3),
|
|
|
-(@iCategoryId, 'sys_update_time', '_adm_stg_cpt_option_sys_update_time', '0', 'digit', '', '', '', '', 4),
|
|
|
-(@iCategoryId, 'sys_upgrade_channel', '_adm_stg_cpt_option_sys_upgrade_channel', 'stable', 'select', 'stable,beta', '', '', '', 5),
|
|
|
-(@iCategoryId, 'sys_revision', '_adm_stg_cpt_option_sys_revision', '0', 'digit', '', '', '', '', 6),
|
|
|
-(@iCategoryId, 'sys_eq_time', '_adm_stg_cpt_option_sys_eq_time', '0', 'digit', '', '', '', '', 7),
|
|
|
-(@iCategoryId, 'sys_push_queue_time', '_adm_stg_cpt_option_sys_push_queue_time', '0', 'digit', '', '', '', '', 8),
|
|
|
+(@iCategoryId, 'sys_upgrade_channel', '_adm_stg_cpt_option_sys_upgrade_channel', 'stable', 'select', 'stable,beta', '', '', '', 4),
|
|
|
+(@iCategoryId, 'sys_revision', '_adm_stg_cpt_option_sys_revision', '0', 'digit', '', '', '', '', 5),
|
|
|
+(@iCategoryId, 'sys_eq_time', '_adm_stg_cpt_option_sys_eq_time', '0', 'digit', '', '', '', '', 6),
|
|
|
+(@iCategoryId, 'sys_push_queue_time', '_adm_stg_cpt_option_sys_push_queue_time', '0', 'digit', '', '', '', '', 7),
|
|
|
|
|
|
(@iCategoryId, 'sys_ftp_login', '_adm_stg_cpt_option_sys_ftp_login', '', 'digit', '', '', '', '', 10),
|
|
|
(@iCategoryId, 'sys_ftp_password', '_adm_stg_cpt_option_sys_ftp_password', '', 'digit', '', '', '', '', 11),
|
|
|
@@ -1352,6 +1351,7 @@ CREATE TABLE `sys_modules` (
|
|
|
`enabled` tinyint(1) NOT NULL default '0',
|
|
|
`pending_uninstall` tinyint(4) NOT NULL,
|
|
|
`hash` varchar(32) NOT NULL default '',
|
|
|
+ `updated` int(11) unsigned NOT NULL default '0',
|
|
|
PRIMARY KEY (`id`),
|
|
|
UNIQUE KEY `name` (`name`),
|
|
|
UNIQUE KEY `path` (`path`(191)),
|
|
|
@@ -1361,7 +1361,7 @@ CREATE TABLE `sys_modules` (
|
|
|
);
|
|
|
|
|
|
INSERT INTO `sys_modules` (`type`, `name`, `title`, `vendor`, `version`, `path`, `uri`, `class_prefix`, `db_prefix`, `lang_category`, `dependencies`, `date`, `enabled`) VALUES
|
|
|
-('module', 'system', 'System', 'UNA, Inc', '9', '', 'system', 'Bx', 'sys_', 'System', '', 0, 1);
|
|
|
+('module', 'system', 'System', 'UNA, Inc', '9', '', 'system', 'Bx', 'sys_', 'System', '', UNIX_TIMESTAMP(), 1);
|
|
|
|
|
|
|
|
|
CREATE TABLE `sys_modules_file_tracks` (
|