* Code for task #95918, add an empty state to the imported status.

This commit is contained in:
hufangzhou
2023-07-05 16:08:17 +08:00
parent 0d0f2bac9d
commit f692c7f1f9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ INSERT INTO zt_privlang (objectID, objectType, lang, `key`, value, `desc`) VALUE
INSERT INTO zt_privrelation (priv, `type`, relationPriv) VALUES(2108, 'depend', 1648);
INSERT INTO zt_privrelation (priv, `type`, relationPriv) VALUES(2108, 'depend', 1651);
ALTER TABLE `zt_traincourse` ADD `importedStatus` enum('wait','doing','done') NOT NULL DEFAULT 'wait' AFTER `desc`;
ALTER TABLE `zt_traincourse` ADD `importedStatus` enum('','wait','doing','done') NOT NULL DEFAULT '' AFTER `desc`;
ALTER TABLE `zt_traincourse` ADD `lastUpdatedTime` int UNSIGNED NOT NULL DEFAULT 0 AFTER `importedStatus`;
ALTER TABLE `zt_traincourse` MODIFY COLUMN `code` varchar(255) DEFAULT '' NOT NULL;
+1 -1
View File
@@ -3079,7 +3079,7 @@ 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',
`importedStatus` enum('','wait','doing','done') NOT NULL DEFAULT '',
`lastUpdatedTime` int UNSIGNED NOT NULL DEFAULT 0,
`createdBy` varchar(255) NOT NULL DEFAULT '',
`createdDate` date NULL,