From 3613e273d1d0d399e35389a009affc7d31b83f79 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Fri, 23 Aug 2013 19:33:58 -0400 Subject: [PATCH] Stamping upgrade for patron self-reg Signed-off-by: Dan Wells --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...{XXXX.schema.patron-self-reg.sql => 0823.schema.patron-self-reg.sql} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.patron-self-reg.sql => 0823.schema.patron-self-reg.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 62e2eddb11..cb7fb8cb78 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 ('0820', :eg_version); -- callender/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0823', :eg_version); -- berick/dbwells CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.patron-self-reg.sql b/Open-ILS/src/sql/Pg/upgrade/0823.schema.patron-self-reg.sql similarity index 97% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.patron-self-reg.sql rename to Open-ILS/src/sql/Pg/upgrade/0823.schema.patron-self-reg.sql index b14f1ea4c4..9fe041ca01 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.patron-self-reg.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0823.schema.patron-self-reg.sql @@ -1,6 +1,8 @@ BEGIN; +SELECT evergreen.upgrade_deps_block_check('0823', :eg_version); + -- Track the requesting user ALTER TABLE staging.user_stage ADD COLUMN requesting_usr INTEGER -- 2.11.0