From c2c671e237522affdc655d75c1bd1dad332baffa Mon Sep 17 00:00:00 2001
From: Galen Charlton <gmc@equinoxinitiative.org>
Date: Thu, 4 Mar 2021 11:09:11 -0500
Subject: [PATCH] LP#1915219: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
---
 Open-ILS/src/sql/Pg/002.schema.config.sql                               | 2 +-
 ...il-opt-in-setting.sql => 1249.data.overdue-email-opt-in-setting.sql} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename Open-ILS/src/sql/Pg/upgrade/{XXXX.data.overdue-email-opt-in-setting.sql => 1249.data.overdue-email-opt-in-setting.sql} (96%)

diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index 2fa3ff4f1d..958d0a97ba 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 ('1248', :eg_version); -- JBoyer / Dyrcona
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1249', :eg_version); -- jeffdavis/gcollum/gmcharlt
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.overdue-email-opt-in-setting.sql b/Open-ILS/src/sql/Pg/upgrade/1249.data.overdue-email-opt-in-setting.sql
similarity index 96%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.overdue-email-opt-in-setting.sql
rename to Open-ILS/src/sql/Pg/upgrade/1249.data.overdue-email-opt-in-setting.sql
index daf548e0c3..90f83d903e 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.overdue-email-opt-in-setting.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/1249.data.overdue-email-opt-in-setting.sql
@@ -1,6 +1,6 @@
 BEGIN;
 
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('1249', :eg_version);
 
 INSERT INTO config.usr_setting_type (
     name,
-- 
2.11.0