From: Mike Rylander Date: Thu, 12 Sep 2013 17:48:47 +0000 (-0400) Subject: Stamping P.V. SUPA upgrade scripts X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5d546cc4f21c9ea9431f4530af28fa5e6ad631c6;p=evergreen%2Fpines.git Stamping P.V. SUPA upgrade scripts Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index a8e76246ec..7649f6a00f 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 ('0825', :eg_version); -- phasefx/bshum +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0826', :eg_version); -- phasefx/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0826.data.server_addon_perms.sql b/Open-ILS/src/sql/Pg/upgrade/0826.data.server_addon_perms.sql new file mode 100644 index 0000000000..312c0c3dfd --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0826.data.server_addon_perms.sql @@ -0,0 +1,17 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('0826', :eg_version); + +INSERT INTO permission.perm_list ( id, code, description ) VALUES ( + 551, + 'ADMIN_SERVER_ADDON_FOR_WORKSTATION', + oils_i18n_gettext( + 551, + 'Allows a user to specify which Server Add-ons get invoked at the current workstation', + 'ppl', + 'description' + ) +); + +COMMIT; + diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.server_addon_perms.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.server_addon_perms.sql deleted file mode 100644 index efbd6a4ae9..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.server_addon_perms.sql +++ /dev/null @@ -1,17 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO permission.perm_list ( id, code, description ) VALUES ( - 551, - 'ADMIN_SERVER_ADDON_FOR_WORKSTATION', - oils_i18n_gettext( - 551, - 'Allows a user to specify which Server Add-ons get invoked at the current workstation', - 'ppl', - 'description' - ) -); - -COMMIT; -