Add comment to run 2.6.2-2.6.3 upgrade script if missed during 2.6-2.7 major upgrade governor_rel_2_7_2
authorBen Shum <bshum@biblio.org>
Wed, 17 Dec 2014 20:38:27 +0000 (15:38 -0500)
committerBen Shum <bshum@biblio.org>
Wed, 17 Dec 2014 20:38:27 +0000 (15:38 -0500)
As discovered by Dan Scott, the 2.7.0 and 2.7.1 shipped with a missing upgrade
script for 2.6.2-2.6.3 and if one upgraded directly from 2.6.2 to 2.7.0, you
would miss out on the fixes contained within.

Add a comment to the end of the 2.7.2 upgrade script to tell folks to go back
and run the 2.6.2-2.6.3 upgrade (which is now included in the tarball and
branches for 2.7 series).

Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/version-upgrade/2.7.1-2.7.2-upgrade-db.sql

index aa3c4c9..0258bb5 100644 (file)
@@ -235,3 +235,10 @@ CREATE OR REPLACE VIEW metabib.record_attr AS
 
 
 COMMIT;
+
+-- Include helpful note to run 2.6.2-2.6.3 if missed during 2.6-2.7 upgrade
+\qecho **** NOTICE ****
+\qecho 'There was a missed upgrade script on the path from 2.6 series'
+\qecho 'to 2.7 series. If you are upgrading from 2.7.1 and have not'
+\qecho 'already run 2.6.2-2.6.3-upgrade-db.sql script, please go back'
+\qecho 'and run now to receive those missed fixes.'