From 00d6528742c31a7b04aa876e6e4a471fec8c6bfc Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 27 Oct 2022 20:45:49 -0400 Subject: [PATCH] LP#1934162: stamp DB update Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...bside_notes.sql => 1347.function.purge_messages_curbside_notes.sql} | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{xxxx.purge_messages_curbside_notes.sql => 1347.function.purge_messages_curbside_notes.sql} (99%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index f344f74a0f..4e15b9fac2 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 ('1346', :eg_version); -- berick/sandbergja/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1347', :eg_version); -- rhamby/sandbergja/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.purge_messages_curbside_notes.sql b/Open-ILS/src/sql/Pg/upgrade/1347.function.purge_messages_curbside_notes.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/xxxx.purge_messages_curbside_notes.sql rename to Open-ILS/src/sql/Pg/upgrade/1347.function.purge_messages_curbside_notes.sql index 5684c5f832..464e058afa 100644 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.purge_messages_curbside_notes.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1347.function.purge_messages_curbside_notes.sql @@ -1,5 +1,6 @@ BEGIN; - + +SELECT evergreen.upgrade_deps_block_check('1347', :eg_version); CREATE OR REPLACE FUNCTION actor.usr_purge_data( src_usr IN INTEGER, -- 2.11.0