Skip to content

Commit

Permalink
Removed the save point path uniqueness restriction from the task table
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoyan1998 committed Feb 5, 2024
1 parent 2977d8a commit 269c88e
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 269c88e

Please sign in to comment.