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

@@ -86,12 +86,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`),
UNIQUE KEY `username` (`username`)