+ [bug#131809] add host field in deploy table.

This commit is contained in:
liyang
2024-11-08 08:31:19 +08:00
committed by 李阳
parent 9f1b7af68c
commit ebb23b2a97
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -11,3 +11,5 @@ ALTER TABLE `zt_deploystep` DROP COLUMN `end`;
ALTER TABLE `zt_deploystep` ADD `parent` mediumint(8) unsigned NOT NULL DEFAULT 0 AFTER `deploy`;
DROP TABLE IF EXISTS `zt_deployscope`;
ALTER TABLE `zt_deploy` ADD `host` mediumint(8) unsigned NOT NULL DEFAULT 0 AFTER `name`;
+1
View File
@@ -2970,6 +2970,7 @@ CREATE TABLE IF NOT EXISTS `zt_deploy` (
`begin` datetime NULL,
`end` datetime NULL,
`name` varchar(255) NOT NULL DEFAULT '',
`host` mediumint(8) unsigned NOT NULL DEFAULT '0',
`desc` mediumtext NULL,
`status` varchar(20) NOT NULL DEFAULT '',
`owner` char(30) NOT NULL DEFAULT '',