Ticket #269: Connection Id should refer to connection
This commit is contained in:
1 parent
9f1f1e8197
commit
576bc8137f
1 file changed
+1
-1
@@ -44,7 +44,7 @@ CREATE TABLE `guacamole_connection_permission` (
|
||||
`connection_id` int(11) NOT NULL,
|
||||
`permission` enum('READ','UPDATE','DELETE','ADMINISTER') NOT NULL,
|
||||
PRIMARY KEY (`user_id`,`connection_id`,`permission`),
|
||||
CONSTRAINT `guacamole_connection_permission_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `guacamole_connection` (`connection_id`),
|
||||
CONSTRAINT `guacamole_connection_permission_ibfk_1` FOREIGN KEY (`connection_id`) REFERENCES `guacamole_connection` (`connection_id`),
|
||||
CONSTRAINT `guacamole_connection_permission_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `guacamole_user` (`user_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
Reference in new issue
Block a user