* Fix bug#34105.

This commit is contained in:
朱金勇
2023-04-17 03:12:13 +00:00
parent af61f4248d
commit 7ad02685c2
2 changed files with 16 additions and 7 deletions
+9
View File
@@ -378,6 +378,11 @@ CHANGE `closedDate` `closedDate` datetime NULL,
CHANGE `lastEditedDate` `lastEditedDate` datetime NULL;
ALTER TABLE `zt_build`
CHANGE `scmPath` `scmPath` char(255) NOT NULL DEFAULT '',
CHANGE `filePath` `filePath` char(255) NOT NULL DEFAULT '',
CHANGE `stories` `stories` text NULL,
CHANGE `bugs` `bugs` text NULL,
CHANGE `desc` `desc` mediumtext NULL,
CHANGE `project` `project` mediumint unsigned NOT NULL DEFAULT '0';
ALTER TABLE `zt_case`
@@ -710,6 +715,10 @@ CHANGE `team` `team` varchar(90) NOT NULL DEFAULT '',
CHANGE `whitelist` `whitelist` text NULL,
CHANGE `order` `order` mediumint unsigned NOT NULL DEFAULT '0';
ALTER TABLE `zt_release`
CHANGE `project` `project` varchar(255) NOT NULL DEFAULT '0',
CHANGE `leftBugs` `leftBugs` text NULL;
ALTER TABLE `zt_researchplan`
CHANGE `editedBy` `editedBy` varchar(30) NOT NULL DEFAULT '',
CHANGE `editedDate` `editedDate` datetime NULL;
+7 -7
View File
@@ -329,13 +329,13 @@ CREATE TABLE IF NOT EXISTS `zt_build` (
`execution` mediumint(8) unsigned NOT NULL default '0',
`builds` varchar(255) NOT NULL,
`name` char(150) NOT NULL,
`scmPath` char(255) NOT NULL,
`filePath` char(255) NOT NULL,
`scmPath` char(255) NOT NULL DEFAULT '',
`filePath` char(255) NOT NULL DEFAULT '',
`date` date NOT NULL,
`stories` text NOT NULL,
`bugs` text NOT NULL,
`stories` text NULL,
`bugs` text NULL,
`builder` char(30) NOT NULL default '',
`desc` mediumtext NOT NULL,
`desc` mediumtext NULL,
`createdBy` varchar(30) NOT NULL,
`createdDate` datetime NOT NULL,
`deleted` enum('0','1') NOT NULL default '0',
@@ -1396,7 +1396,7 @@ CREATE UNIQUE INDEX `relation` ON `zt_relation`(`product`,`relation`,`AType`,`BT
-- DROP TABLE IF EXISTS `zt_release`;
CREATE TABLE IF NOT EXISTS `zt_release` (
`id` mediumint(8) unsigned NOT NULL auto_increment,
`project` varchar(255) NOT NULL,
`project` varchar(255) NOT NULL default '0',
`product` mediumint(8) unsigned NOT NULL default '0',
`branch` varchar(255) NOT NULL default '0',
`shadow` mediumint(8) unsigned NOT NULL default '0',
@@ -1406,7 +1406,7 @@ CREATE TABLE IF NOT EXISTS `zt_release` (
`date` date NOT NULL,
`stories` text NOT NULL,
`bugs` text NOT NULL,
`leftBugs` text NOT NULL,
`leftBugs` text NULL,
`desc` mediumtext NOT NULL,
`mailto` text,
`notify` varchar(255),