diff --git a/renren-admin/src/main/resources/db/V8.0__create_reminders.sql b/renren-admin/src/main/resources/db/V8.0__create_reminders.sql index c16dd787..3af8aaf8 100644 --- a/renren-admin/src/main/resources/db/V8.0__create_reminders.sql +++ b/renren-admin/src/main/resources/db/V8.0__create_reminders.sql @@ -12,7 +12,7 @@ CREATE TABLE `t_reminders` ( `additional1` varchar(255) NULL COMMENT '附加备用字段1', `additional2` longtext NULL COMMENT '附加备用字段2', `additional3` longtext NULL COMMENT '附加备用字段3', - PRIMARY KEY (`id`), - INDEX `instance_id_key`(`instance_id`) USING BTREE COMMENT '流程实例id', - INDEX `process_task_id_key`(`process_task_id`) USING BTREE COMMENT '流程节点id' -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '催办信息' ROW_FORMAT = DYNAMIC; \ No newline at end of file + PRIMARY KEY (`id`) +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '催办信息' ROW_FORMAT = DYNAMIC; +alter table `t_reminders` ADD INDEX `instance_id`(`instance_id`) USING BTREE comment '催办流程实例ID'; +alter table `t_reminders` ADD INDEX `process_task_id`(`process_task_id`) USING BTREE comment '催办流程节点id'; \ No newline at end of file