]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0070.schema.ahr-shelf-expire-time.sql
Merge branch 'master' of git.evergreen-ils.org:Evergreen-DocBook into doc_consolidati...
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0070.schema.ahr-shelf-expire-time.sql
1 BEGIN;
2
3 INSERT INTO config.upgrade_log (version) VALUES ('0070');
4
5 ALTER TABLE action.hold_request
6 ADD COLUMN shelf_expire_time TIMESTAMPTZ;
7
8 COMMIT;
9
10 -- If the following ALTERs die because the table doesn't exist, don't
11 -- worry about it.  Some installations have it and some don't.
12
13 ALTER TABLE auditor.action_hold_request_history
14 ADD COLUMN mint_condition boolean NOT NULL DEFAULT TRUE;
15
16 ALTER TABLE auditor.action_hold_request_history
17 ADD COLUMN shelf_expire_time TIMESTAMPTZ;