From: Jane Sandberg Date: Thu, 13 Oct 2022 16:10:43 +0000 (-0700) Subject: LP1839341: stamp upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7136ee6d6b2a590debfe9a1ae1131ea1ade846df;p=working%2FEvergreen.git LP1839341: 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 9dc11888c1..ba43820ba1 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 ('1335', :eg_version); -- tlittle/berick/gmcharlt/rfrasur/sandbergja +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1336', :eg_version); -- khuckins/berick/mrylander/tmccanna/sandbergja CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1336.data.ouSettings-grid-ws-settings.sql b/Open-ILS/src/sql/Pg/upgrade/1336.data.ouSettings-grid-ws-settings.sql new file mode 100644 index 0000000000..03a2628944 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1336.data.ouSettings-grid-ws-settings.sql @@ -0,0 +1,15 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1336', :eg_version); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.admin.actor.org_unit_settings', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.actor.org_unit_settings', + 'Grid Config: admin.actor.org_unit_settings', + 'cwst', 'label' + ) +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ouSettings-grid-ws-settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ouSettings-grid-ws-settings.sql deleted file mode 100644 index e865962b0e..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ouSettings-grid-ws-settings.sql +++ /dev/null @@ -1,15 +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.actor.org_unit_settings', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.actor.org_unit_settings', - 'Grid Config: admin.actor.org_unit_settings', - 'cwst', 'label' - ) -); - -COMMIT; \ No newline at end of file