diff --git a/script/sql/dinky-mysql.sql b/script/sql/dinky-mysql.sql index dd3afe995b..ee67ed91ad 100644 --- a/script/sql/dinky-mysql.sql +++ b/script/sql/dinky-mysql.sql @@ -675,7 +675,8 @@ CREATE TABLE `dinky_task` ( `update_time` datetime(0) NULL DEFAULT NULL COMMENT 'update time', `version_id` int(11) NULL DEFAULT NULL COMMENT 'version id', PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `task_un_idx1`(`name`, `tenant_id`) USING BTREE + UNIQUE INDEX `task_un_idx1`(`name`, `tenant_id`) USING BTREE, + UNIQUE INDEX `task_un_idx2`(`save_point_path`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'Task' ROW_FORMAT = Dynamic; -- ----------------------------