We need to drop the trigger before we add it
authorDan Scott <dscott@laurentian.ca>
Sun, 31 Jul 2016 18:09:01 +0000 (14:09 -0400)
committerDan Scott <dscott@laurentian.ca>
Sun, 31 Jul 2016 18:09:01 +0000 (14:09 -0400)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/sql/Pg/version-upgrade/2.7.4-2.8.0-upgrade-db.sql

index a8a04aa..57f3530 100644 (file)
@@ -12,6 +12,7 @@ BEGIN
 END;
 $$ LANGUAGE PLPGSQL;
 
+DROP TRIGGER hold_request_clear_map_tgr ON action.hold_request;
 CREATE TRIGGER hold_request_clear_map_tgr
     AFTER UPDATE ON action.hold_request
     FOR EACH ROW