From e052cad09214b8f79618e9ddd66b1159a4a2e5cf Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 11 Aug 2017 14:25:24 -0400 Subject: [PATCH] LP#1705524 Stamping org timezones SQL Signed-off-by: Bill Erickson --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- .../{XXXX.data.tz_org_setting.sql => 1054.data.tz_org_setting.sql} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.data.tz_org_setting.sql => 1054.data.tz_org_setting.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 f42d9e985f..3679f20bcf 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -90,7 +90,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 ('1053', :eg_version); -- kmlussier/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1054', :eg_version); -- miker/berick CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.tz_org_setting.sql b/Open-ILS/src/sql/Pg/upgrade/1054.data.tz_org_setting.sql similarity index 97% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.tz_org_setting.sql rename to Open-ILS/src/sql/Pg/upgrade/1054.data.tz_org_setting.sql index 22b4c9a4d7..bc33d7f557 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.tz_org_setting.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1054.data.tz_org_setting.sql @@ -1,5 +1,7 @@ BEGIN; +SELECT evergreen.upgrade_deps_block_check('1054', :eg_version); + INSERT into config.org_unit_setting_type ( name, grp, label, description, datatype ) VALUES -- 2.11.0