Skip to content

Commit

Permalink
[Optmization]Removed the save point path uniqueness restriction from …
Browse files Browse the repository at this point in the history
…the task table (#3143)

Co-authored-by: gaoyan1998 <gaoyan1998@users.noreply.github.com>
  • Loading branch information
gaoyan1998 and gaoyan1998 authored Feb 5, 2024
1 parent 61adf48 commit 6ed014f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions script/sql/dinky-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1347,8 +1347,7 @@ CREATE TABLE `dinky_task` (
`updater` int(11) DEFAULT NULL COMMENT 'updater',
`operator` int(11) DEFAULT NULL COMMENT 'operator user id',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `task_un_idx1`(`name`, `tenant_id`) USING BTREE,
UNIQUE INDEX `task_un_idx2`(`save_point_path`) USING BTREE
UNIQUE INDEX `task_un_idx1`(`name`, `tenant_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'Task' ROW_FORMAT = Dynamic;

-- ----------------------------
Expand Down

0 comments on commit 6ed014f

Please sign in to comment.