From: Bill Erickson Date: Fri, 25 May 2012 18:54:23 +0000 (-0400) Subject: Stamping upgrade for ACQ org setting group X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=24bf58fa0d8d5871f9985449f00cedea0a3b28a5;p=contrib%2FConifer.git Stamping upgrade for ACQ org setting group Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 9ccef4edd7..fe2a1dab5a 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -87,7 +87,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 ('0714', :eg_version); -- berick/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0715', :eg_version); -- dbs/berick CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0715.data.add_acq_config_group.sql b/Open-ILS/src/sql/Pg/upgrade/0715.data.add_acq_config_group.sql new file mode 100644 index 0000000000..00269a26a1 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0715.data.add_acq_config_group.sql @@ -0,0 +1,12 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('0715', :eg_version); + +INSERT INTO config.settings_group (name, label) VALUES +('acq', oils_i18n_gettext('config.settings_group.system', 'Acquisitions', 'coust', 'label')); + +UPDATE config.org_unit_setting_type + SET grp = 'acq' + WHERE name LIKE 'acq%'; + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.add_acq_config_group.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.add_acq_config_group.sql deleted file mode 100644 index a094b8af83..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.add_acq_config_group.sql +++ /dev/null @@ -1,6 +0,0 @@ -INSERT INTO config.settings_group (name, label) VALUES -('acq', oils_i18n_gettext('config.settings_group.system', 'Acquisitions', 'coust', 'label')); - -UPDATE config.org_unit_setting_type - SET grp = 'acq' - WHERE name LIKE 'acq%';