From 021970b0300986961d4d72d34279dbe92d110e2a Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Tue, 4 Oct 2011 14:22:15 -0400 Subject: [PATCH] pin version for upgrade script Signed-off-by: Jason Etheridge --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- .../{XXXX.security_lockdown.sql => 0634.security_lockdown.sql} | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.security_lockdown.sql => 0634.security_lockdown.sql} (72%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 74d3fcaf7a..db5457ab6f 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -57,7 +57,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0633'); -- tsbere/phasefx +INSERT INTO config.upgrade_log (version) VALUES ('0634'); -- tsbere/phasefx CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.security_lockdown.sql b/Open-ILS/src/sql/Pg/upgrade/0634.security_lockdown.sql similarity index 72% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.security_lockdown.sql rename to Open-ILS/src/sql/Pg/upgrade/0634.security_lockdown.sql index b17e70a54a..62466d913b 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.security_lockdown.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0634.security_lockdown.sql @@ -1,3 +1,9 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('0634'); + INSERT INTO permission.perm_list ( id, code, description ) VALUES ( 513, 'DEBUG_CLIENT', oils_i18n_gettext( 513, 'Allows a user to use debug functions in the staff client', 'ppl', 'description' )); + +COMMIT; -- 2.11.0