mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 21:51:23 +00:00
Ticket #269: Connection Id should refer to connection
This commit is contained in:
@@ -44,7 +44,7 @@ CREATE TABLE `guacamole_connection_permission` (
|
|||||||
`connection_id` int(11) NOT NULL,
|
`connection_id` int(11) NOT NULL,
|
||||||
`permission` enum('READ','UPDATE','DELETE','ADMINISTER') NOT NULL,
|
`permission` enum('READ','UPDATE','DELETE','ADMINISTER') NOT NULL,
|
||||||
PRIMARY KEY (`user_id`,`connection_id`,`permission`),
|
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`)
|
CONSTRAINT `guacamole_connection_permission_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `guacamole_user` (`user_id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user