Unverified Commit 6ed014f8 authored by gaoyan's avatar gaoyan Committed by GitHub

[Optmization]Removed the save point path uniqueness restriction from the task table (#3143)

parent 61adf489
...@@ -1347,8 +1347,7 @@ CREATE TABLE `dinky_task` ( ...@@ -1347,8 +1347,7 @@ CREATE TABLE `dinky_task` (
`updater` int(11) DEFAULT NULL COMMENT 'updater', `updater` int(11) DEFAULT NULL COMMENT 'updater',
`operator` int(11) DEFAULT NULL COMMENT 'operator user id', `operator` int(11) DEFAULT NULL COMMENT 'operator user id',
PRIMARY KEY (`id`) USING BTREE, 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; ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'Task' ROW_FORMAT = Dynamic;
-- ---------------------------- -- ----------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment