GUACAMOLE-339: Add remote host field to database and populate appropriately.

This commit is contained in:
Nick Couchman
2017-07-16 21:58:28 -04:00
parent 7c162fde95
commit f2120c8d14
9 changed files with 57 additions and 3 deletions

View File

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

View File

@@ -30,3 +30,10 @@ ALTER TABLE guacamole_connection
ALTER TABLE guacamole_connection
ADD COLUMN failover_only BOOLEAN NOT NULL DEFAULT FALSE;
--
-- Add remote_host to connection history
--
ALTER TABLE guacamole_connection_history
ADD COLUMN remote_host VARCHAR(128) DEFAULT NULL;