Browse Source

20211026通用

master
zy_Java 4 years ago
parent
commit
89709f61ad
  1. 6
      内部项目/tall3通用.sql

6
内部项目/tall3通用.sql

@ -306,7 +306,8 @@ DROP TABLE IF EXISTS `t_pro_role_task`;
CREATE TABLE `t_pro_role_task` ( CREATE TABLE `t_pro_role_task` (
`id` bigint(20) NOT NULL, `id` bigint(20) NOT NULL,
`role_id` bigint(20) NULL DEFAULT 0 COMMENT '角色id', `role_id` bigint(20) NULL DEFAULT 0 COMMENT '角色id',
`task_id` bigint(20) NULL DEFAULT 0 COMMENT '任务id', `task_id` bigint(20) NULL DEFAULT 0 COMMENT '任务id',
`role_duty` tinyint(1) DEFAULT 0 COMMENT '角色职责(0-负责人,1-检查人)',
`operator` bigint(20) NULL DEFAULT 0 COMMENT '操作人id', `operator` bigint(20) NULL DEFAULT 0 COMMENT '操作人id',
`created_at` timestamp NOT NULL DEFAULT current_timestamp, `created_at` timestamp NOT NULL DEFAULT current_timestamp,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp ON UPDATE CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT current_timestamp ON UPDATE CURRENT_TIMESTAMP,
@ -316,6 +317,9 @@ CREATE TABLE `t_pro_role_task` (
INDEX `role_task_task_index`(`task_id`) USING BTREE INDEX `role_task_task_index`(`task_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色任务关联表' ROW_FORMAT = Compact; ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色任务关联表' ROW_FORMAT = Compact;
-- ---------------------------- -- ----------------------------
-- Records of t_pro_role_task -- Records of t_pro_role_task
-- ---------------------------- -- ----------------------------

Loading…
Cancel
Save