diff --git a/1731642572_create_dma_role_evaluate.up.sql b/1731642572_create_dma_role_evaluate.up.sql new file mode 100644 index 0000000..0446bc9 --- /dev/null +++ b/1731642572_create_dma_role_evaluate.up.sql @@ -0,0 +1,13 @@ +CREATE TABLE `ufutx_dma_role_evaluate` +( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `order_id` int(11) NOT NULL COMMENT '订单id', + `user_id` int(11) NOT NULL COMMENT '评价人id', + `user_role` int(11) NOT NULL DEFAULT '0' COMMENT '评价人角色', + `role` int(11) NOT NULL DEFAULT '0' COMMENT '被评价角色类型', + `content` text 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互评表'; \ No newline at end of file