From: Jason Boyer Date: Wed, 22 Sep 2021 17:21:13 +0000 (-0400) Subject: LP1920253: Stamp Upgrade Script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=eea3d423ecb37c69f16f9e89f251347682c2b533;p=evergreen%2Ftadl.git LP1920253: Stamp Upgrade Script Signed-off-by: Jason Boyer --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 715d1b1ca0..b8b675a5fc 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 ('1293', :eg_version); -- phasefx / miker / ddale / csharp +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1294', :eg_version); -- mmorgan / tlittle / JBoyer CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1294.data.carousel_ws_settings.sql b/Open-ILS/src/sql/Pg/upgrade/1294.data.carousel_ws_settings.sql new file mode 100644 index 0000000000..076ecbac29 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1294.data.carousel_ws_settings.sql @@ -0,0 +1,29 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1294', :eg_version); -- mmorgan / tlittle / JBoyer + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.admin.local.container.carousel_org_unit', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.local.container.carousel_org_unit', + 'Grid Config: eg.grid.admin.local.container.carousel_org_unit', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.container.carousel', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.container.carousel', + 'Grid Config: eg.grid.admin.container.carousel', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.server.config.carousel_type', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.server.config.carousel_type', + 'Grid Config: eg.grid.admin.server.config.carousel_type', + 'cwst', 'label' + ) +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.carousel_ws_settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.carousel_ws_settings.sql deleted file mode 100644 index ab56e8c11c..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.carousel_ws_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.container.carousel_org_unit', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.local.container.carousel_org_unit', - 'Grid Config: eg.grid.admin.local.container.carousel_org_unit', - 'cwst', 'label' - ) -), ( - 'eg.grid.admin.container.carousel', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.container.carousel', - 'Grid Config: eg.grid.admin.container.carousel', - 'cwst', 'label' - ) -), ( - 'eg.grid.admin.server.config.carousel_type', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.server.config.carousel_type', - 'Grid Config: eg.grid.admin.server.config.carousel_type', - 'cwst', 'label' - ) -); - -COMMIT;