From: Bill Erickson Date: Wed, 16 Mar 2022 20:10:29 +0000 (-0400) Subject: LP1956003 Stamping DB upgrade / hold group grids X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=894fb45a0578ef8c2202f6e9cf2086c1d8468db9;p=Evergreen.git LP1956003 Stamping DB upgrade / hold group grids 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 82b023d223..7f52d01b1c 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 ('1312', :eg_version); -- csharp/berick +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1313', :eg_version); -- alynn26/berick CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1313.data.hold_group_ws_settings.sql b/Open-ILS/src/sql/Pg/upgrade/1313.data.hold_group_ws_settings.sql new file mode 100644 index 0000000000..62bcc9ca2c --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1313.data.hold_group_ws_settings.sql @@ -0,0 +1,36 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1313', :eg_version); -- alynn26 + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.cat.bucket.batch_hold.view', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.cat.bucket.batch_hold.view', + 'Grid Config: eg.grid.cat.bucket.batch_hold.view', + 'cwst', 'label' + ) +), ( + 'eg.grid.cat.bucket.batch_hold.pending', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.cat.bucket.batch_hold.pending', + 'Grid Config: eg.grid.cat.bucket.batch_hold.pending', + 'cwst', 'label' + ) +), ( + 'eg.grid.cat.bucket.batch_hold.events', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.cat.bucket.batch_hold.events', + 'Grid Config: eg.grid.cat.bucket.batch_hold.events', + 'cwst', 'label' + ) +), ( + 'eg.grid.cat.bucket.batch_hold.list', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.cat.bucket.batch_hold.list', + 'Grid Config: eg.grid.cat.bucket.batch_hold.list', + 'cwst', 'label' + ) +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.hold_group_ws_settings.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.hold_group_ws_settings.sql deleted file mode 100644 index eba4e95d6d..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.hold_group_ws_settings.sql +++ /dev/null @@ -1,36 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version); -- alynn26 - -INSERT INTO config.workstation_setting_type (name, grp, datatype, label) -VALUES ( - 'eg.grid.cat.bucket.batch_hold.view', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.cat.bucket.batch_hold.view', - 'Grid Config: eg.grid.cat.bucket.batch_hold.view', - 'cwst', 'label' - ) -), ( - 'eg.grid.cat.bucket.batch_hold.pending', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.cat.bucket.batch_hold.pending', - 'Grid Config: eg.grid.cat.bucket.batch_hold.pending', - 'cwst', 'label' - ) -), ( - 'eg.grid.cat.bucket.batch_hold.events', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.cat.bucket.batch_hold.events', - 'Grid Config: eg.grid.cat.bucket.batch_hold.events', - 'cwst', 'label' - ) -), ( - 'eg.grid.cat.bucket.batch_hold.list', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.cat.bucket.batch_hold.list', - 'Grid Config: eg.grid.cat.bucket.batch_hold.list', - 'cwst', 'label' - ) -); - -COMMIT;