* Code for task #95918, add the importedStatus and lastUpdatedTime fields to zt_traincourse table.

This commit is contained in:
hufangzhou
2023-06-28 14:01:21 +08:00
parent 4c7cb11170
commit 832d5773e6
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -6,3 +6,6 @@ INSERT INTO `zt_privlang` (`objectID`, `objectType`, `lang`, `key`, `value`, `de
(2107, 'priv', 'fr', 'traincourse-cloudImport', '', ''),
(2107, 'priv', 'zh-cn', 'traincourse-cloudImport', '', ''),
(2107, 'priv', 'zh-tw', 'traincourse-cloudImport', '', '');
ALTER TABLE `zt_traincourse` ADD `importedStatus` enum('wait','doing','done') NOT NULL DEFAULT 'wait' AFTER `desc`;
ALTER TABLE `zt_traincourse` ADD `lastUpdatedTime` int UNSIGNED NOT NULL DEFAULT 0 AFTER `importedStatus`;
+2
View File
@@ -3079,6 +3079,8 @@ CREATE TABLE IF NOT EXISTS `zt_traincourse` (
`status` varchar(10) NOT NULL DEFAULT '',
`teacher` varchar(30) NOT NULL default '',
`desc` mediumtext NULL,
`importedStatus` enum('wait','doing','done') NOT NULL DEFAULT 'wait',
`lastUpdatedTime` int UNSIGNED NOT NULL DEFAULT 0,
`createdBy` varchar(255) NOT NULL DEFAULT '',
`createdDate` date NULL,
`editedBy` varchar(255) NOT NULL DEFAULT '',