From: Jane Sandberg Date: Wed, 17 Nov 2021 19:53:52 +0000 (-0800) Subject: lp1855780 stamp upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=654b02f1e9c1ee6f14a5d43233ef675b5684f1be;p=evergreen%2Ftadl.git lp1855780 stamp upgrade script Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 3b4db98d8c..00283f5046 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -92,7 +92,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 ('1307', :eg_version); -- jeffdavis/JBoyer/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1308', :eg_version); -- mrisher/rhamby/gmcharlt/sandbergja CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1308.data.trigger_ui_grid_settings.sql b/Open-ILS/src/sql/Pg/upgrade/1308.data.trigger_ui_grid_settings.sql new file mode 100644 index 0000000000..0c2889642c --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1308.data.trigger_ui_grid_settings.sql @@ -0,0 +1,29 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1308', :eg_version); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.admin.local.triggers.atevdef', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.local.triggers.atevdef', + 'Grid Config: eg.grid.admin.local.triggers.atevdef', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.local.triggers.atenv', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.local.triggers.atenv', + 'Grid Config: eg.grid.admin.local.triggers.atenv', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.local.triggers.atevparam', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.local.triggers.atevparam', + 'Grid Config: eg.grid.admin.local.triggers.atevparam', + 'cwst', 'label' + ) +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.trigger_ui_grid_settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.trigger_ui_grid_settings.sql deleted file mode 100644 index 757fd14511..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.trigger_ui_grid_settings.sql +++ /dev/null @@ -1,29 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO config.workstation_setting_type (name, grp, datatype, label) -VALUES ( - 'eg.grid.admin.local.triggers.atevdef', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.local.triggers.atevdef', - 'Grid Config: eg.grid.admin.local.triggers.atevdef', - 'cwst', 'label' - ) -), ( - 'eg.grid.admin.local.triggers.atenv', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.local.triggers.atenv', - 'Grid Config: eg.grid.admin.local.triggers.atenv', - 'cwst', 'label' - ) -), ( - 'eg.grid.admin.local.triggers.atevparam', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.local.triggers.atevparam', - 'Grid Config: eg.grid.admin.local.triggers.atevparam', - 'cwst', 'label' - ) -); - -COMMIT;