From 40e20683c5d2aa78a128ed019be163349545a4d7 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Wed, 24 Aug 2016 12:17:11 -0400 Subject: [PATCH] Stamping upgrade of is_available branch Signed-off-by: Mike Rylander --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...opy_status_co_allowed.sql => 0992.schema.copy_status_co_allowed.sql} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.copy_status_co_allowed.sql => 0992.schema.copy_status_co_allowed.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 08aefa9dd7..0c8e9ad520 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 ('0991', :eg_version); -- dbwells/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0992', :eg_version); -- berick/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_status_co_allowed.sql b/Open-ILS/src/sql/Pg/upgrade/0992.schema.copy_status_co_allowed.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_status_co_allowed.sql rename to Open-ILS/src/sql/Pg/upgrade/0992.schema.copy_status_co_allowed.sql index 1777681377..129e3c47f4 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_status_co_allowed.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0992.schema.copy_status_co_allowed.sql @@ -1,5 +1,7 @@ BEGIN; +SELECT evergreen.upgrade_deps_block_check('0992', :eg_version); + ALTER TABLE config.copy_status ADD COLUMN is_available BOOL NOT NULL DEFAULT FALSE; -- 2.11.0