GUAC-1213: Document and store user timezone such that it is used for all date/time comparisons.

This commit is contained in:
Michael Jumper
2015-07-29 15:50:45 -07:00
parent 5f25558ebd
commit ca516e6bfe
4 changed files with 18 additions and 4 deletions

View File

@@ -127,12 +127,14 @@ CREATE TABLE guacamole_user (
-- Time-based access restriction
access_window_start time,
access_window_end time,
access_window_timezone varchar(64),
-- Date-based access restriction
valid_from date,
valid_until date,
-- Timezone used for all date/time comparisons and interpretation
timezone varchar(64),
PRIMARY KEY (user_id),
CONSTRAINT username