mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
GUACAMOLE-189: Define guacd override columns for guacamole_connection table in main schema init script.
This commit is contained in:
@@ -57,6 +57,11 @@ CREATE TABLE `guacamole_connection` (
|
|||||||
`parent_id` int(11),
|
`parent_id` int(11),
|
||||||
`protocol` varchar(32) NOT NULL,
|
`protocol` varchar(32) NOT NULL,
|
||||||
|
|
||||||
|
-- Guacamole proxy (guacd) overrides
|
||||||
|
`proxy_port` integer,
|
||||||
|
`proxy_hostname` varchar(512),
|
||||||
|
`proxy_encryption_method` enum('NONE', 'SSL'),
|
||||||
|
|
||||||
-- Concurrency limits
|
-- Concurrency limits
|
||||||
`max_connections` int(11),
|
`max_connections` int(11),
|
||||||
`max_connections_per_user` int(11),
|
`max_connections_per_user` int(11),
|
||||||
|
@@ -49,6 +49,15 @@ CREATE TYPE guacamole_system_permission_type AS ENUM(
|
|||||||
'ADMINISTER'
|
'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.
|
-- Table of connection groups. Each connection group has a name.
|
||||||
--
|
--
|
||||||
@@ -97,6 +106,11 @@ CREATE TABLE guacamole_connection (
|
|||||||
max_connections integer,
|
max_connections integer,
|
||||||
max_connections_per_user 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),
|
PRIMARY KEY (connection_id),
|
||||||
|
|
||||||
CONSTRAINT connection_name_parent
|
CONSTRAINT connection_name_parent
|
||||||
|
Reference in New Issue
Block a user