Stamping upgrade script for reinstate tsconfigs.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 17 Apr 2013 18:33:48 +0000 (14:33 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 17 Apr 2013 18:35:13 +0000 (14:35 -0400)
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0789.schema.reinstate-tsconfigs.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql [deleted file]

index e0aea4c..946ac79 100644 (file)
@@ -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/0789.schema.reinstate-tsconfigs.sql b/Open-ILS/src/sql/Pg/upgrade/0789.schema.reinstate-tsconfigs.sql
new file mode 100644 (file)
index 0000000..3395487
--- /dev/null
@@ -0,0 +1,8 @@
+SELECT evergreen.upgrade_deps_block_check('0789', :eg_version);
+
+-- 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 );
+CREATE TEXT SEARCH CONFIGURATION series ( COPY = english_nostop );
+CREATE TEXT SEARCH CONFIGURATION identifier ( COPY = english_nostop );
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reinstate-tsconfigs.sql
deleted file mode 100644 (file)
index 9dad01d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
--- These can 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 );
-CREATE TEXT SEARCH CONFIGURATION series ( COPY = english_nostop );
-CREATE TEXT SEARCH CONFIGURATION identifier ( COPY = english_nostop );