From a9298b25b5948b218ed250b36e6f3962abfc651e Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Thu, 1 Oct 2015 14:50:44 -0400 Subject: [PATCH] Stamping upgrade script and test file Signed-off-by: Mike Rylander --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- Open-ILS/src/sql/Pg/t/{dob-as-date.pg => lp838525-dob-as-date.pg} | 0 .../{XXXX.schema.dob-as-date.sql => 0945.schema.dob-as-date.sql} | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/t/{dob-as-date.pg => lp838525-dob-as-date.pg} (100%) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.dob-as-date.sql => 0945.schema.dob-as-date.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 14fc532654..c9a21dd55e 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -91,7 +91,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 ('0944', :eg_version); -- dwells/kmlussier/dyrcona +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0945', :eg_version); -- berick/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/t/dob-as-date.pg b/Open-ILS/src/sql/Pg/t/lp838525-dob-as-date.pg similarity index 100% rename from Open-ILS/src/sql/Pg/t/dob-as-date.pg rename to Open-ILS/src/sql/Pg/t/lp838525-dob-as-date.pg diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.dob-as-date.sql b/Open-ILS/src/sql/Pg/upgrade/0945.schema.dob-as-date.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.dob-as-date.sql rename to Open-ILS/src/sql/Pg/upgrade/0945.schema.dob-as-date.sql index 8953156821..12a5fbd7f4 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.dob-as-date.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0945.schema.dob-as-date.sql @@ -1,5 +1,7 @@ BEGIN; +SELECT evergreen.upgrade_deps_block_check('0945', :eg_version); + DROP VIEW action.all_circulation; DROP VIEW reporter.demographic; DROP VIEW auditor.actor_usr_lifecycle; -- 2.11.0