* [story#73843,done,0.2h,0h] Finish task related docs.

This commit is contained in:
wangyuting
2025-05-07 08:51:30 +08:00
committed by 刘刚
parent ae549d548c
commit f54fc16a95
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
ALTER TABLE `zt_task` ADD COLUMN `docs` text NULL AFTER `fromIssue`;
ALTER TABLE `zt_story` ADD COLUMN `docs` text NULL AFTER `linkRequirements`;
ALTER TABLE `zt_design` ADD COLUMN `docs` text NULL AFTER `storyVersion`;
+3
View File
@@ -751,6 +751,7 @@ CREATE TABLE IF NOT EXISTS `zt_design` (
`deleted` enum('0','1') NOT NULL DEFAULT '0',
`story` char(30) NOT NULL DEFAULT '',
`storyVersion` smallint(6) UNSIGNED NOT NULL DEFAULT '1',
`docs` text NULL,
`desc` mediumtext NULL,
`version` smallint(6) NOT NULL DEFAULT '0',
`type` char(30) NOT NULL DEFAULT '',
@@ -1944,6 +1945,7 @@ CREATE TABLE IF NOT EXISTS `zt_story` (
`toBug` mediumint(8) unsigned NOT NULL DEFAULT '0',
`linkStories` varchar(255) NOT NULL DEFAULT '',
`linkRequirements` varchar(255) NOT NULL DEFAULT '',
`docs` text NULL,
`twins` varchar(255) NOT NULL DEFAULT '',
`duplicateStory` mediumint(8) unsigned NOT NULL DEFAULT '0',
`version` smallint(6) NOT NULL DEFAULT '1',
@@ -2046,6 +2048,7 @@ CREATE TABLE IF NOT EXISTS `zt_task` (
`fromBug` mediumint(8) unsigned NOT NULL DEFAULT '0',
`feedback` mediumint(8) unsigned NOT NULL DEFAULT '0',
`fromIssue` mediumint(8) unsigned NOT NULL DEFAULT '0',
`docs` text NULL,
`name` varchar(255) NOT NULL DEFAULT '',
`type` varchar(20) NOT NULL DEFAULT '',
`mode` varchar(10) NOT NULL DEFAULT '',
+1
View File
@@ -172,6 +172,7 @@ detailBody
) : null,
section
(
setID('files'),
set::title($lang->files),
fileSelector($task->files ? set::defaultFiles(array_values($task->files)) : null)
),