Needs to be a timestamp with time zone; fixes a bug
where it was interpreted as a UTC time, throwing off
the calculation of the expiration of the password reset
request.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18628
dcc99617-32d9-48b4-a31d-
7c20da2025e4
id SERIAL PRIMARY KEY,
uuid TEXT NOT NULL,
usr BIGINT NOT NULL REFERENCES actor.usr(id) DEFERRABLE INITIALLY DEFERRED,
- request_time TIMESTAMP NOT NULL DEFAULT NOW(),
+ request_time TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
has_been_reset BOOL NOT NULL DEFAULT false
);
COMMENT ON TABLE actor.usr_password_reset IS $$