From c118b746ed9a619ab42459782923e66e2a7a65df Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 10 Feb 2021 15:46:56 -0500 Subject: [PATCH] LP1474029 Stamping DB upgrade: expired staff no-login Signed-off-by: Bill Erickson --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...taff_login_flag.sql => 1245.data.block_expired_staff_login_flag.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.data.block_expired_staff_login_flag.sql => 1245.data.block_expired_staff_login_flag.sql} (84%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index e11f361450..4b5622c650 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 ('1244', :eg_version); -- gmcharlt/rhamby +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1245', :eg_version); -- gmcharlt/terranm/berick CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.block_expired_staff_login_flag.sql b/Open-ILS/src/sql/Pg/upgrade/1245.data.block_expired_staff_login_flag.sql similarity index 84% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.block_expired_staff_login_flag.sql rename to Open-ILS/src/sql/Pg/upgrade/1245.data.block_expired_staff_login_flag.sql index b7ea9b12fc..ba232e785b 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.block_expired_staff_login_flag.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1245.data.block_expired_staff_login_flag.sql @@ -1,6 +1,6 @@ BEGIN; -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('1245', :eg_version); INSERT INTO config.global_flag (name, value, enabled, label) VALUES ( -- 2.11.0