* Add default value for zt_workflowaction.

This commit is contained in:
朱金勇
2023-04-13 07:36:12 +00:00
parent b38b7e992e
commit 6e3b635868
2 changed files with 22 additions and 11 deletions
+11
View File
@@ -785,6 +785,17 @@ CHANGE `editedBy` `editedBy` varchar(30) NOT NULL DEFAULT '',
CHANGE `editedDate` `editedDate` datetime NULL;
ALTER TABLE `zt_workflowaction`
CHANGE `order` `order` smallint unsigned NOT NULL DEFAULT '0',
CHANGE `virtual` `virtual` tinyint unsigned NOT NULL DEFAULT '0',
CHANGE `conditions` `conditions` text NULL,
CHANGE `verifications` `verifications` text NULL,
CHANGE `hooks` `hooks` text NULL,
CHANGE `linkages` `linkages` text NULL,
CHANGE `js` `js` text NULL,
CHANGE `css` `css` text NULL,
CHANGE `toList` `toList` char(255) NOT NULL DEFAULT '',
CHANGE `blocks` `blocks` text NULL,
CHANGE `desc` `desc` text NULL,
CHANGE `editedBy` `editedBy` varchar(30) NOT NULL DEFAULT '',
CHANGE `editedDate` `editedDate` datetime NULL;
+11 -11
View File
@@ -8923,19 +8923,19 @@ CREATE TABLE IF NOT EXISTS `zt_workflowaction` (
`position` enum('menu','browseandview','browse','view') NOT NULL DEFAULT 'browseandview',
`layout` char(20) NOT NULL,
`show` enum('dropdownlist','direct') NOT NULL DEFAULT 'dropdownlist',
`order` smallint(5) unsigned NOT NULL,
`order` smallint(5) unsigned NOT NULL DEFAULT '0',
`buildin` tinyint(1) unsigned NOT NULL,
`role` varchar(10) NOT NULL DEFAULT 'custom',
`virtual` tinyint(1) unsigned NOT NULL,
`conditions` text NOT NULL,
`verifications` text NOT NULL,
`hooks` text NOT NULL,
`linkages` text NOT NULL,
`js` text NOT NULL,
`css` text NOT NULL,
`toList` char(255) NOT NULL,
`blocks` text NOT NULL,
`desc` text NOT NULL,
`virtual` tinyint(1) unsigned NOT NULL DEFAULT '0',
`conditions` text NULL,
`verifications` text NULL,
`hooks` text NULL,
`linkages` text NULL,
`js` text NULL,
`css` text NULL,
`toList` char(255) NOT NULL DEFAULT '',
`blocks` text NULL,
`desc` text NULL,
`status` varchar(10) NOT NULL DEFAULT 'enable',
`vision` varchar(10) NOT NULL DEFAULT 'rnd',
`createdBy` varchar(30) NOT NULL,