From ab489beb66184572005a739aa975553bb3736073 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Wed, 17 Apr 2013 14:33:48 -0400 Subject: [PATCH] Stamping upgrade script for reinstate tsconfigs. Signed-off-by: Jason Stephenson --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...ma.reinstate-tsconfigs.sql => 0789.schema.reinstate-tsconfigs.sql} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.reinstate-tsconfigs.sql => 0789.schema.reinstate-tsconfigs.sql} (73%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index e0aea4ca35..946ac7928e 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -91,7 +91,7 @@ CREATE TRIGGER no_overlapping_deps BEFORE INSERT OR UPDATE ON config.db_patch_dependencies FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates'); -INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0788', :eg_version); -- bshum/dbwells +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0789', :eg_version); -- miker/dyrcona CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql b/Open-ILS/src/sql/Pg/upgrade/0789.schema.reinstate-tsconfigs.sql similarity index 73% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql rename to Open-ILS/src/sql/Pg/upgrade/0789.schema.reinstate-tsconfigs.sql index 9dad01d4ef..3395487401 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0789.schema.reinstate-tsconfigs.sql @@ -1,6 +1,6 @@ -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('0789', :eg_version); --- These can be run outside of a transaction +-- These can and should be run outside of a transaction CREATE TEXT SEARCH CONFIGURATION title ( COPY = english_nostop ); CREATE TEXT SEARCH CONFIGURATION author ( COPY = english_nostop ); CREATE TEXT SEARCH CONFIGURATION subject ( COPY = english_nostop ); -- 2.11.0