Addresses LP#1007003 - auditor table not updated when action.hold_request is updated user/jamesrf/lp1007003_ahr_auditor_upgrade
authorJames Fournie <jfournie@sitka.bclibraries.ca>
Thu, 31 May 2012 16:42:57 +0000 (09:42 -0700)
committerJames Fournie <jfournie@sitka.bclibraries.ca>
Thu, 31 May 2012 16:42:57 +0000 (09:42 -0700)
Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql

index 8329a41..880b4ff 100644 (file)
@@ -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