From b6a5ab4ed4ea708ba0513578f7bc41d31a515b27 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 8 Mar 2019 09:58:54 -0500 Subject: [PATCH] LP1811689 Stamping upgrade - truncate simple rec Signed-off-by: Bill Erickson --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...le-rec-truncate.sql => 1155.schema.reporter-simple-rec-truncate.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.reporter-simple-rec-truncate.sql => 1155.schema.reporter-simple-rec-truncate.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 2d37ee2382..5d4b323a0d 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 ('1154', :eg_version); -- berick/mmorgan +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1155', :eg_version); -- berick/rogan CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reporter-simple-rec-truncate.sql b/Open-ILS/src/sql/Pg/upgrade/1155.schema.reporter-simple-rec-truncate.sql similarity index 89% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reporter-simple-rec-truncate.sql rename to Open-ILS/src/sql/Pg/upgrade/1155.schema.reporter-simple-rec-truncate.sql index b64b22c875..d44393107f 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.reporter-simple-rec-truncate.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1155.schema.reporter-simple-rec-truncate.sql @@ -1,6 +1,6 @@ BEGIN; --- SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version); +SELECT evergreen.upgrade_deps_block_check('1155', :eg_version); CREATE OR REPLACE FUNCTION reporter.enable_materialized_simple_record_trigger () RETURNS VOID AS $$ -- 2.11.0