From 652ead4a4447376d49d37108f443f4f649071039 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 17 Feb 2016 11:11:01 -0500 Subject: [PATCH] LP#1067823: stamp upgrade script Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- .../{XXXX.data.genre-indexing.sql => 0952.data.genre-indexing.sql} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.data.genre-indexing.sql => 0952.data.genre-indexing.sql} (89%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 2191024ff3..f5acbefd41 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 ('0951', :eg_version); -- dyrcona/kmlussier +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0952', :eg_version); --miker/kmlussier/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.genre-indexing.sql b/Open-ILS/src/sql/Pg/upgrade/0952.data.genre-indexing.sql similarity index 89% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.genre-indexing.sql rename to Open-ILS/src/sql/Pg/upgrade/0952.data.genre-indexing.sql index 27721ee19b..92ec068771 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.genre-indexing.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0952.data.genre-indexing.sql @@ -1,5 +1,7 @@ BEGIN; +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0952', :eg_version); --miker/kmlussier/gmcharlt + INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field, facet_field, facet_xpath, joiner ) VALUES (33, 'identifier', 'genre', oils_i18n_gettext(33, 'Genre', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='655']$$, FALSE, TRUE, $$//*[local-name()='subfield' and contains('abvxyz',@code)]$$, ' -- ' ); -- /* to fool vim */; -- 2.11.0