From e3fd9e6693dd3beec3711c9dcdd1685a91151cdb Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 28 Aug 2017 11:08:22 -0400 Subject: [PATCH] LP#1689608: stamp schema update Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...hema.patron_batch_update.sql => 1056.schema.patron_batch_update.sql} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.patron_batch_update.sql => 1056.schema.patron_batch_update.sql} (98%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 684c9d1eaa..9cc66db69d 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 ('1055', :eg_version); -- berick/phasefx +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1056', :eg_version); -- miker/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.patron_batch_update.sql b/Open-ILS/src/sql/Pg/upgrade/1056.schema.patron_batch_update.sql similarity index 98% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.patron_batch_update.sql rename to Open-ILS/src/sql/Pg/upgrade/1056.schema.patron_batch_update.sql index ad0bf9c6a2..39935be759 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.patron_batch_update.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1056.schema.patron_batch_update.sql @@ -1,5 +1,7 @@ BEGIN; +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1056', :eg_version); -- miker/gmcharlt + INSERT INTO permission.perm_list (id,code,description) VALUES (592,'CONTAINER_BATCH_UPDATE','Allow batch update via buckets'); INSERT INTO container.user_bucket_type (code,label) SELECT code,label FROM container.copy_bucket_type where code = 'staff_client'; -- 2.11.0