[open-ils-commits] [GIT] Evergreen ILS branch master updated. 53bb5c810d7ed85412646d1d7439c86431f6402e

Evergreen Git git at git.evergreen-ils.org
Fri May 15 20:29:00 EDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  53bb5c810d7ed85412646d1d7439c86431f6402e (commit)
      from  baf4957f6f7a2954ebb7c10c9469c892e1ca1a9a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 53bb5c810d7ed85412646d1d7439c86431f6402e
Author: Ben Shum <bshum at biblio.org>
Date:   Mon Mar 2 21:49:55 2015 -0500

    LP#1125270: Add a DROP FUNCTION for actor.usr_purge_data
    
    Apparently this caused problems on upgrading from 2.0 to 2.1 back in the day,
    and adding a DROP FUNCTION ahead of the CREATE dealt with the situation.
    
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql
index 3638766..219da6b 100644
--- a/Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql
+++ b/Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql
@@ -310,6 +310,8 @@ INSERT INTO config.hold_matrix_weights(name, user_home_ou, request_ou, pickup_ou
 INSERT INTO config.weight_assoc(active, org_unit, circ_weights, hold_weights) VALUES
     (true, 1, 1, 1);
 
+-- LP1125270
+DROP FUNCTION IF EXISTS actor.usr_purge_data(INT, INT);
 -- 0480
 CREATE OR REPLACE FUNCTION actor.usr_purge_data(
 	src_usr  IN INTEGER,

-----------------------------------------------------------------------

Summary of changes:
 .../sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql  |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list