install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0457'); -- senator
+INSERT INTO config.upgrade_log (version) VALUES ('0459'); -- gmc
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
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 $$
-- 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 $$
--CREATE INDEX actor_usr_password_reset_request_time_idx ON actor.usr_password_reset (request_time);
--CREATE INDEX actor_usr_password_reset_has_been_reset_idx ON actor.usr_password_reset (has_been_reset);
+ALTER TABLE actor.usr_password_reset ALTER COLUMN request_time TYPE TIMESTAMP WITH TIME ZONE;
+
-- Use the identifier search class tsconfig
DROP TRIGGER IF EXISTS metabib_identifier_field_entry_fti_trigger ON metabib.identifier_field_entry;
CREATE TRIGGER metabib_identifier_field_entry_fti_trigger