From 5abb6776fbf7a7700f1d54a9405c2af915ac2404 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Fri, 17 Nov 2017 15:15:15 -0500 Subject: [PATCH] LP#1671150 Stamp database upgrade script. Signed-off-by: Jason Stephenson --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ....qualify_unaccent_refs.sql => 1083.scema.qualify_unaccent_refs.sql} | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.qualify_unaccent_refs.sql => 1083.scema.qualify_unaccent_refs.sql} (92%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index d821d84adc..efac8d3fd3 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -92,7 +92,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 ('1082', :eg_version); -- jboyer/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1083', :eg_version); -- jeff/dyrcona CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.qualify_unaccent_refs.sql b/Open-ILS/src/sql/Pg/upgrade/1083.scema.qualify_unaccent_refs.sql similarity index 92% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.qualify_unaccent_refs.sql rename to Open-ILS/src/sql/Pg/upgrade/1083.scema.qualify_unaccent_refs.sql index 5a73f4b5f7..46a7c08cda 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.qualify_unaccent_refs.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1083.scema.qualify_unaccent_refs.sql @@ -6,8 +6,7 @@ BEGIN; -- check whether patch can be applied --- FIXME: uncomment when we have an upgrade number --- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('1083', :eg_version); CREATE OR REPLACE FUNCTION evergreen.unaccent_and_squash ( IN arg text) RETURNS text IMMUTABLE STRICT AS $$ -- 2.11.0