GUACAMOLE-163: Remove DEFAULT CURRENT_TIMESTAMP from guacamole_user's password_date column (compatibility with MySQL 5.5 and older).

This commit is contained in:
Michael Jumper
2017-01-22 11:58:41 -08:00
parent cdf7e2ce59
commit b69599e822
6 changed files with 20 additions and 8 deletions

View File

@@ -126,7 +126,7 @@ CREATE TABLE guacamole_user (
username varchar(128) NOT NULL,
password_hash bytea NOT NULL,
password_salt bytea,
password_date timestamptz NOT NULL DEFAULT CURRENT_TIMESTAMP,
password_date timestamptz NOT NULL,
-- Account disabled/expired status
disabled boolean NOT NULL DEFAULT FALSE,