Ticket #269: Added a new utility class, and support for reading ConnectionRecord objects.

This commit is contained in:
James Muehlner
2013-02-20 00:07:59 -08:00
parent 1beb031a05
commit 39665ad0f6
40 changed files with 2434 additions and 736 deletions

View File

@@ -72,3 +72,20 @@ CREATE TABLE `guacamole_user_permission` (
CONSTRAINT `guacamole_user_permission_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `guacamole_user` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Table structure for table `guacamole_connection_history`
--
CREATE TABLE `guacamole_connection_history` (
`history_id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`connection_id` int(11) NOT NULL,
`start_date` datetime NOT NULL,
`end_date` datetime DEFAULT NULL,
PRIMARY KEY (`history_id`),
KEY `user_id` (`user_id`),
KEY `connection_id` (`connection_id`),
CONSTRAINT `guacamole_connection_history_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `guacamole_user` (`user_id`),
CONSTRAINT `guacamole_connection_history_ibfk_2` FOREIGN KEY (`connection_id`) REFERENCES `guacamole_connection` (`connection_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8