Keep VALID_UNTIL as DATETIME
This is to allow -1 (Unix Epoch) as a valid date, which isn't valid for
TIMESTAMP in MariaDB since it only allows dates from
VALID_UNTIL is -1 for user profiles that don't have a date after which
the user profile is no longer valid.
@@ -59,7 +59,7 @@ CREATE TABLE IF NOT EXISTS USER_PROFILE (
ORIGINATION_AFFILIATION VARCHAR (255),
CREATION_TIME TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
LAST_ACCESS_TIME TIMESTAMP,
- VALID_UNTIL TIMESTAMP,
+ VALID_UNTIL DATETIME,
STATE VARCHAR (255),
COMMENTS TEXT,
GPG_KEY TEXT,
