Skip to content

Commit 297e68e

Browse files
committed
add dice_issue_state_circulation table migration
1 parent 40b497a commit 297e68e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)