* [task#131534,doing,0.2h] add field for zt_history.

This commit is contained in:
tianshujie
2024-11-01 14:30:59 +08:00
committed by 谢杞钰
parent 765b1c63e2
commit 6413baf585
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -55,3 +55,6 @@ INSERT INTO `zt_workflowgroup` (`type`, `projectModel`, `projectType`, `name`, `
ALTER TABLE `zt_doclib` ADD `orderBy` varchar(30) NOT NULL DEFAULT 'id_asc' AFTER `deleted`;
UPDATE `zt_grouppriv` SET `method` = 'quick' WHERE `module` = 'doc' AND `method` = 'myView';
ALTER TABLE `zt_history` ADD `oldValue` text NULL AFTER `old`;
ALTER TABLE `zt_history` ADD `newValue` text NULL AFTER `new`;
+2
View File
@@ -957,7 +957,9 @@ CREATE TABLE IF NOT EXISTS `zt_history` (
`action` mediumint(8) unsigned NOT NULL default '0',
`field` varchar(30) NOT NULL default '',
`old` text NULL,
`oldValue` text NULL,
`new` text NULL,
`newValue` text NULL,
`diff` mediumtext NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;