方案前问卷以及dma流程日志表
This commit is contained in:
parent
4d210606de
commit
3c3f8f5c73
13
1730087026_create_table_dma_process_log.up.sql
Normal file
13
1730087026_create_table_dma_process_log.up.sql
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
CREATE TABLE `ufutx_dma_process_log` (
|
||||||
|
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`user_id` int(11) NOT NULL COMMENT '用户id',
|
||||||
|
`order_id` int(11) DEFAULT NULL COMMENT '订单id',
|
||||||
|
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:未完成 1:已完成 2:进行中 3:已回退',
|
||||||
|
`key_name` varchar(255) DEFAULT NULL COMMENT '步骤唯一标识',
|
||||||
|
`remark` varchar(255) DEFAULT NULL COMMENT '操作备注',
|
||||||
|
`created_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`updated_at` timestamp NULL DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `user_order_id` (`user_id`,`order_id`) USING BTREE,
|
||||||
|
KEY `key` (`key_name`(191)) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='dma流程图日志表';
|
11
1730104566_create_before_dma_question.up.sql
Normal file
11
1730104566_create_before_dma_question.up.sql
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
CREATE TABLE `ufutx_before_dma_question` (
|
||||||
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`user_id` int(11) NOT NULL,
|
||||||
|
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:未审核 1:通过 2:拒绝',
|
||||||
|
`content` text COMMENT '问卷内容',
|
||||||
|
`remark` varchar(255) DEFAULT NULL COMMENT '审核备注',
|
||||||
|
`created_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`updated_at` timestamp NULL DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `user_id` (`user_id`) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='方案前dma问卷调查表';
|
Loading…
Reference in New Issue
Block a user