From: James Fournie Date: Thu, 31 May 2012 16:42:57 +0000 (-0700) Subject: Addresses LP#1007003 - auditor table not updated when action.hold_request is updated X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fjamesrf%2Flp1007003_ahr_auditor_upgrade;p=working%2FEvergreen.git Addresses LP#1007003 - auditor table not updated when action.hold_request is updated --- diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql index 8329a410a1..880b4ff4c6 100644 --- a/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql +++ b/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql @@ -6654,7 +6654,9 @@ ALTER TABLE action.hold_request ADD CONSTRAINT sms_check CHECK ( OR sms_carrier IS NOT NULL -- and implied sms_notify IS NOT NULL ); - +ALTER TABLE auditor.action_hold_request_history ADD COLUMN sms_notify TEXT; +ALTER TABLE auditor.action_hold_request_history ADD COLUMN sms_carrier INT; +ALTER TABLE auditor.action_hold_request_history ADD COLUMN current_shelf_lib INT; -- set the value for current_shelf_lib on existing shelved holds UPDATE action.hold_request