From f89b87775ec879d9ce6d91f263034f86c8cf2067 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Thu, 7 Jul 2011 13:27:18 -0400 Subject: [PATCH] Stamping upgrade version number for staff_search_find_no_copies branch (backport) Signed-off-by: Mike Rylander --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...nd_no_copies.sql => 0573.schema.staff_search_find_no_copies.sql} | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.staff_search_find_no_copies.sql => 0573.schema.staff_search_find_no_copies.sql} (99%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index cf45060050..44619cb929 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -57,7 +57,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0571'); -- miker +INSERT INTO config.upgrade_log (version) VALUES ('0573'); -- miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.staff_search_find_no_copies.sql b/Open-ILS/src/sql/Pg/upgrade/0573.schema.staff_search_find_no_copies.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.staff_search_find_no_copies.sql rename to Open-ILS/src/sql/Pg/upgrade/0573.schema.staff_search_find_no_copies.sql index 56ccf874ab..883c0588f8 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.staff_search_find_no_copies.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0573.schema.staff_search_find_no_copies.sql @@ -1,3 +1,7 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('0573'); --miker + CREATE OR REPLACE FUNCTION search.query_parser_fts ( param_search_ou INT, @@ -304,3 +308,5 @@ BEGIN END; $func$ LANGUAGE PLPGSQL; +COMMIT; + -- 2.11.0