* [sql] add new field.

This commit is contained in:
sunguangming
2025-07-24 06:03:59 +00:00
parent 0ecbedeb95
commit 6fdcaa4d2b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -77,6 +77,7 @@ ALTER TABLE `zt_deliverable` ADD `activity` int(8) unsigned NOT NULL DEFAULT '0'
ALTER TABLE `zt_deliverable` ADD `trimmable` char(30) NOT NULL DEFAULT '0' AFTER `activity`;
ALTER TABLE `zt_deliverable` ADD `trimRule` varchar(255) NOT NULL AFTER `trimmable`;
ALTER TABLE `zt_deliverable` ADD `template` text NOT NULL AFTER `trimRule`;
ALTER TABLE `zt_deliverable` ADD `status` char(30) NOT NULL DEFAULT 'enabled' AFTER `name`;
ALTER TABLE `zt_deliverable` DROP `method`, DROP `model`, DROP `type`, DROP `files`;
CREATE TABLE IF NOT EXISTS `zt_deliverablestage` (
+1
View File
@@ -594,6 +594,7 @@ CREATE TABLE `zt_deliverable` (
`workflowGroup` int(8) unsigned NOT NULL DEFAULT 0,
`module` mediumint(8) unsigned NOT NULL DEFAULT 0,
`name` varchar(255) NOT NULL,
`status` char(30) NOT NULL DEFAULT 'enabled',
`activity` int(8) unsigned NOT NULL DEFAULT 0,
`trimmable` char(30) NOT NULL DEFAULT '0',
`trimRule` varchar(255) NOT NULL,