GUACAMOLE-339: Bump up field size to 256 to support full DNS names.

This commit is contained in:
Nick Couchman
2017-07-16 22:43:50 -04:00
parent 7522a495b8
commit 8b71e30c71
4 changed files with 4 additions and 4 deletions

View File

@@ -322,7 +322,7 @@ CREATE TABLE `guacamole_connection_history` (
`history_id` int(11) NOT NULL AUTO_INCREMENT, `history_id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL, `user_id` int(11) DEFAULT NULL,
`username` varchar(128) NOT NULL, `username` varchar(128) NOT NULL,
`remote_host` varchar(128) DEFAULT NULL, `remote_host` varchar(256) DEFAULT NULL,
`connection_id` int(11) DEFAULT NULL, `connection_id` int(11) DEFAULT NULL,
`connection_name` varchar(128) NOT NULL, `connection_name` varchar(128) NOT NULL,
`sharing_profile_id` int(11) DEFAULT NULL, `sharing_profile_id` int(11) DEFAULT NULL,

View File

@@ -36,4 +36,4 @@ ALTER TABLE guacamole_connection
-- --
ALTER TABLE guacamole_connection_history ALTER TABLE guacamole_connection_history
ADD COLUMN remote_host VARCHAR(128) DEFAULT NULL; ADD COLUMN remote_host VARCHAR(256) DEFAULT NULL;

View File

@@ -381,7 +381,7 @@ CREATE TABLE guacamole_connection_history (
history_id serial NOT NULL, history_id serial NOT NULL,
user_id integer DEFAULT NULL, user_id integer DEFAULT NULL,
username varchar(128) NOT NULL, username varchar(128) NOT NULL,
remote_host varchar(128) DEFAULT NULL, remote_host varchar(256) DEFAULT NULL,
connection_id integer DEFAULT NULL, connection_id integer DEFAULT NULL,
connection_name varchar(128) NOT NULL, connection_name varchar(128) NOT NULL,
sharing_profile_id integer DEFAULT NULL, sharing_profile_id integer DEFAULT NULL,

View File

@@ -36,4 +36,4 @@ ALTER TABLE guacamole_connection
-- --
ALTER TABLE guacamole_connection_history ALTER TABLE guacamole_connection_history
ADD COLUMN remote_host VARCHAR(128) DEFAULT NULL; ADD COLUMN remote_host VARCHAR(256) DEFAULT NULL;