* Update zt_mr table.

This commit is contained in:
dingguodong
2021-08-23 17:01:40 +08:00
parent 84f5c25aa9
commit 38f7285ff4
+8 -4
View File
@@ -546,11 +546,13 @@ CREATE TABLE IF NOT EXISTS `zt_module` (
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- DROP TABLE IF EXISTS `zt_mr`;
CREATE TABLE `zt_mr` (
`id` mediumint(8) unsigned NOT NULL auto_increment,
`repoID` mediumint(8) unsigned NOT NULL,
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`gitlabID` mediumint(8) unsigned NOT NULL,
`projectID` mediumint(8) unsigned NOT NULL,
`mrID` mediumint(8) unsigned NOT NULL,
`sourceProject` int unsigned NOT NULL,
`sourceBranch` varchar(100) NOT NULL,
`targetProject` int unsigned NOT NULL,
`targetBranch` varchar(100) NOT NULL,
`mriid` int unsigned NOT NULL,
`title` varchar(255) NOT NULL,
`description` text NOT NULL,
`assignee` varchar(255) NOT NULL,
@@ -560,6 +562,8 @@ CREATE TABLE `zt_mr` (
`editedBy` varchar(30) NOT NULL,
`editedDate` datetime NOT NULL,
`deleted` tinyint(1) NOT NULL,
`status` char(30) NOT NULL,
`mergeStatus` char(30) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- DROP TABLE IF EXISTS `zt_notify`;