From e3592ec729f9750f0a0e9d453e9f0b859ab5a9aa Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Mon, 22 Aug 2011 17:32:09 -0400 Subject: [PATCH] stamp an upgrade version for the czs use_perm feature Signed-off-by: Jason Etheridge --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...ma.czs_use_perm_column.sql => 0606.schema.czs_use_perm_column.sql} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.czs_use_perm_column.sql => 0606.schema.czs_use_perm_column.sql} (83%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 1e14f289f6..f4528b62f1 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -86,7 +86,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 ('0605', :eg_version); -- dbwells/dbs +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0606', :eg_version); -- phasefx/berick CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.czs_use_perm_column.sql b/Open-ILS/src/sql/Pg/upgrade/0606.schema.czs_use_perm_column.sql similarity index 83% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.czs_use_perm_column.sql rename to Open-ILS/src/sql/Pg/upgrade/0606.schema.czs_use_perm_column.sql index db1f077d8a..0518f249f4 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.czs_use_perm_column.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0606.schema.czs_use_perm_column.sql @@ -1,4 +1,4 @@ --- Evergreen DB patch XXXX.schema.czs_use_perm_column.sql +-- Evergreen DB patch 0606.schema.czs_use_perm_column.sql -- -- This adds a column to config.z3950_source called use_perm. -- The idea is that if a permission is set for a given source, @@ -8,7 +8,7 @@ BEGIN; -- check whether patch can be applied -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('0606', :eg_version); ALTER TABLE config.z3950_source ADD COLUMN use_perm INT REFERENCES permission.perm_list (id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED; -- 2.11.0