From: Lebbeous Fogle-Weekley Date: Thu, 21 Jun 2012 14:01:56 +0000 (-0400) Subject: Fix version numbers in 2.1 -> 2.2 upgrade script X-Git-Tag: sprint4-merge-nov22~4134 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e04600edfd5292249528b7cdbd91dc423d01bc79;p=working%2FEvergreen.git Fix version numbers in 2.1 -> 2.2 upgrade script Justin Hopkins spotted the problem, and offered a fix in LP #1015807. I'm just doing it slightly differently here. Thanks Justin! Signed-off-by: Lebbeous Fogle-Weekley --- diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql index a16a0cc0b9..6ec712d2a9 100644 --- a/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql +++ b/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql @@ -1,7 +1,7 @@ ---Upgrade Script for 2.1 to 2.2-alpha2 +--Upgrade Script for 2.1 to 2.2.0 -- Don't require use of -vegversion=something -\set eg_version '''2.2''' +\set eg_version '''2.2.0''' -- DROP objects that might have existed from a prior run of 0526 -- Yes this is ironic. @@ -11,7 +11,7 @@ DROP FUNCTION IF EXISTS evergreen.upgrade_list_applied_deprecates(TEXT); DROP FUNCTION IF EXISTS evergreen.upgrade_list_applied_supersedes(TEXT); BEGIN; -INSERT INTO config.upgrade_log (version) VALUES ('2.2-beta2'); +INSERT INTO config.upgrade_log (version) VALUES ('2.2.0'); INSERT INTO config.upgrade_log (version) VALUES ('0526'); --miker