* Add sql.

This commit is contained in:
qiyu-xie
2021-05-12 16:26:00 +08:00
parent fcb0176f3c
commit df22b0a09f
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
ALTER TABLE `zt_project` CHANGE `lifetime` `lifetime` char(30) NOT NULL DEFAULT '';
ALTER TABLE `zt_story` ADD `category` varchar(30) NOT NULL DEFAULT 'feature' AFTER 'type';
ALTER TABLE `zt_story` ADD `category` varchar(30) NOT NULL DEFAULT 'feature' AFTER `type`;
ALTER TABLE `zt_testtask` ADD `type` varchar(255) NOT NULL DEFAULT '' AFTER `build`;
+1
View File
@@ -822,6 +822,7 @@ CREATE TABLE IF NOT EXISTS `zt_story` (
`title` varchar(255) NOT NULL,
`keywords` varchar(255) NOT NULL,
`type` varchar(30) NOT NULL default 'story',
`category` varchar(30) NOT NULL default 'feature',
`pri` tinyint(3) unsigned NOT NULL default '3',
`estimate` float unsigned NOT NULL,
`status` enum('','changed','active','draft','closed') NOT NULL default '',