We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40b497a commit 297e68eCopy full SHA for 297e68e
.erda/migrations/cmdb/20211214-issue-state-circulation.sql
@@ -0,0 +1,13 @@
1
+CREATE TABLE `dice_issue_state_circulation`
2
+(
3
+ `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
4
+ `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '表记录创建时间',
5
+ `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '表记录更新时间',
6
+ `project_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '所属项目 ID',
7
+ `state_from` bigint(20) NOT NULL DEFAULT '0' COMMENT '更新前状态',
8
+ `state_to` bigint(20) NOT NULL DEFAULT '0' COMMENT '更新后状态',
9
+ `creator` varchar(255) NOT NULL DEFAULT '' COMMENT '创建人',
10
+ `issue_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'issue_id',
11
+ PRIMARY KEY (`id`),
12
+ KEY `idx_project_id` (`project_id`) USING BTREE
13
+) ENGINE=InnoDB AUTO_INCREMENT=6432 DEFAULT CHARSET=utf8mb4 COMMENT='issue状态流转表';
0 commit comments