* Code for task #95918, add the importedStatus and lastUpdatedTime fields to zt_traincourse table.
This commit is contained in:
@@ -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`;
|
||||
|
||||
@@ -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 '',
|
||||
|
||||
Reference in New Issue
Block a user