From af72b32e28e1bca2ca22d0b23050c0874d4e7eb4 Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Tue, 18 Sep 2018 14:53:47 -0400 Subject: [PATCH] LP#1787274: Stamping upgrade script for no dupe transits Signed-off-by: Kathy Lussier --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...XXX.schema.no-dupe-transits.sql => 1133.schema.no-dupe-transits.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.no-dupe-transits.sql => 1133.schema.no-dupe-transits.sql} (97%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index b864fd38f0..2aade1c737 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 ('1132', :eg_version); -- remingtron/csharp +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1133', :eg_version); -- berick/kmlussier CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.no-dupe-transits.sql b/Open-ILS/src/sql/Pg/upgrade/1133.schema.no-dupe-transits.sql similarity index 97% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.no-dupe-transits.sql rename to Open-ILS/src/sql/Pg/upgrade/1133.schema.no-dupe-transits.sql index 0016a42f0f..7faa26acec 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.no-dupe-transits.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1133.schema.no-dupe-transits.sql @@ -1,7 +1,7 @@ BEGIN; ---SELECT evergreen.upgrade_deps_block_check('XXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('1133', :eg_version); \qecho Applying a unique constraint to action.transit_copy. This will \qecho only effect newly created transits. Admins are encouraged to manually -- 2.11.0