GUACAMOLE-189: Define guacd override columns for guacamole_connection table in main schema init script.

This commit is contained in:
Michael Jumper
2017-06-04 16:06:16 -07:00
parent 24708cf915
commit 8286b21baa
2 changed files with 19 additions and 0 deletions

View File

@@ -49,6 +49,15 @@ CREATE TYPE guacamole_system_permission_type AS ENUM(
'ADMINISTER'
);
--
-- Guacamole proxy (guacd) encryption methods
--
CREATE TYPE guacamole_proxy_encryption_method AS ENUM(
'NONE',
'SSL'
);
--
-- Table of connection groups. Each connection group has a name.
--
@@ -97,6 +106,11 @@ CREATE TABLE guacamole_connection (
max_connections integer,
max_connections_per_user integer,
-- Guacamole proxy (guacd) overrides
proxy_port integer,
proxy_hostname varchar(512),
proxy_encryption_method guacamole_proxy_encryption_method,
PRIMARY KEY (connection_id),
CONSTRAINT connection_name_parent