mirror of
https://github.com/veops/cmdb.git
synced 2025-08-08 19:03:29 +08:00
fix delete relation view
This commit is contained in:
@@ -65,7 +65,6 @@ CREATE TABLE `acl_permissions` (
|
||||
`resource_type_id` int(11) DEFAULT NULL,
|
||||
`app_id` int(11) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `perm_name_app_unique` (`name`,`resource_type_id`,`app_id`),
|
||||
KEY `resource_type_id` (`resource_type_id`),
|
||||
KEY `app_id` (`app_id`),
|
||||
KEY `ix_acl_permissions_deleted` (`deleted`),
|
||||
@@ -134,7 +133,6 @@ CREATE TABLE `acl_resource_groups` (
|
||||
`resource_type_id` int(11) DEFAULT NULL,
|
||||
`app_id` int(11) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `resource_group_app_unique` (`name`,`resource_type_id`,`app_id`),
|
||||
KEY `resource_type_id` (`resource_type_id`),
|
||||
KEY `app_id` (`app_id`),
|
||||
KEY `ix_acl_resource_groups_name` (`name`),
|
||||
@@ -204,7 +202,6 @@ CREATE TABLE `acl_resources` (
|
||||
`resource_type_id` int(11) DEFAULT NULL,
|
||||
`app_id` int(11) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `resource_name_app_unique` (`name`,`resource_type_id`,`app_id`),
|
||||
KEY `resource_type_id` (`resource_type_id`),
|
||||
KEY `app_id` (`app_id`),
|
||||
KEY `ix_acl_resources_deleted` (`deleted`),
|
||||
@@ -279,7 +276,6 @@ CREATE TABLE `acl_role_relations` (
|
||||
`parent_id` int(11) DEFAULT NULL,
|
||||
`child_id` int(11) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `role_relation_unique` (`parent_id`,`child_id`),
|
||||
KEY `child_id` (`child_id`),
|
||||
KEY `ix_acl_role_relations_deleted` (`deleted`),
|
||||
CONSTRAINT `acl_role_relations_ibfk_1` FOREIGN KEY (`parent_id`) REFERENCES `acl_roles` (`id`),
|
||||
|
Reference in New Issue
Block a user