Skip to content

Commit c94e3e1

Browse files
committed
DB/ACL: Remove extra UNIQUE keys
1 parent 879b408 commit c94e3e1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

application/modules/install/SQL/fusion_final_full.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ CREATE TABLE `acl_account_roles` (
6262
`role_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
6363
`module` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
6464
PRIMARY KEY (`account_id`, `role_name`) USING BTREE,
65-
UNIQUE INDEX `account_id_role_name`(`account_id`, `role_name`) USING BTREE
6665
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=Dynamic;
6766

6867
-- ----------------------------
@@ -78,7 +77,6 @@ CREATE TABLE `acl_group_roles` (
7877
`role_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
7978
`module` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
8079
PRIMARY KEY (`group_id`, `role_name`, `module`) USING BTREE,
81-
UNIQUE INDEX `group_id_role_id`(`group_id`, `role_name`, `module`) USING BTREE,
8280
CONSTRAINT `FK__groups` FOREIGN KEY (`group_id`) REFERENCES `acl_groups` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
8381
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=Dynamic;
8482

0 commit comments

Comments
 (0)