[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. a4d4dcd71f41135e1d84e60dfa082993285bf42d

Evergreen Git git at git.evergreen-ils.org
Sun Nov 18 12:29:55 EST 2012


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, rel_2_3 has been updated
       via  a4d4dcd71f41135e1d84e60dfa082993285bf42d (commit)
      from  d6556aba50bbda5c40e11a8b790da5818b8a9c76 (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 a4d4dcd71f41135e1d84e60dfa082993285bf42d
Author: Dan Scott <dscott at laurentian.ca>
Date:   Thu Sep 13 12:47:32 2012 -0400

    rel_2_1 does not have a config.upgrade_log.applied_to column
    
    Thanks to Michael Peters for running into & reporting this problem when
    attempting to upgrade from 2.1.2 to 2.1.3!
    
    Fix the version upgrade script.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.1.2-2.1.3-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.1.2-2.1.3-upgrade-db.sql
index bec59a4..8ee3b86 100644
--- a/Open-ILS/src/sql/Pg/version-upgrade/2.1.2-2.1.3-upgrade-db.sql
+++ b/Open-ILS/src/sql/Pg/version-upgrade/2.1.2-2.1.3-upgrade-db.sql
@@ -1,6 +1,6 @@
 --Upgrade Script for 2.1.2 to 2.1.3
 BEGIN;
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.1.3', :eg_version);
+INSERT INTO config.upgrade_log (version) VALUES ('2.1.3');
 -- Evergreen DB patch 0722.schema.acq-po-state-constraint.sql
 --
 
@@ -10,8 +10,8 @@ ALTER TABLE acq.purchase_order ADD CONSTRAINT valid_po_state
     CHECK (state IN ('new','pending','on-order','received','cancelled'));
 
 
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0725', :eg_version); -- gmcharlt/denials
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0726', :eg_version); -- denials
+INSERT INTO config.upgrade_log (version) VALUES ('0725'); -- gmcharlt/denials
+INSERT INTO config.upgrade_log (version) VALUES ('0726'); -- denials
 
 CREATE OR REPLACE FUNCTION evergreen.maintain_901 () RETURNS TRIGGER AS $func$
 use strict;

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

Summary of changes:
 .../Pg/version-upgrade/2.1.2-2.1.3-upgrade-db.sql  |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list