From: Michele Morgan Date: Fri, 28 Oct 2022 20:02:03 +0000 (-0400) Subject: LP1859701 - Stamping upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=eccc0bae289c215c18af40047b4159bdf595cdfa;p=Evergreen.git LP1859701 - Stamping upgrade script Signed-off-by: Michele Morgan --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 823204f7c0..db4bfb78d4 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 ('1351', :eg_version); -- tlittle/lstratton/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1352', :eg_version); -- berick/sandbergja/mmorgan CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1352.data.angular-cash-reports.sql b/Open-ILS/src/sql/Pg/upgrade/1352.data.angular-cash-reports.sql new file mode 100644 index 0000000000..1233b20556 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1352.data.angular-cash-reports.sql @@ -0,0 +1,22 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1352', :eg_version); + +INSERT into config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.admin.local.cash_reports.desk_payments', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.local.cash_reports.desk_payments', + 'Grid Config: admin.local.cash_reports.desk_payments', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.local.cash_reports.user_payments', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.local.cash_reports.user_payments', + 'Grid Config: admin.local.cash_reports.user_payments', + 'cwst', 'label' + ) +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.angular-cash-reports.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.angular-cash-reports.sql deleted file mode 100644 index c8dd55ef53..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.angular-cash-reports.sql +++ /dev/null @@ -1,22 +0,0 @@ -BEGIN; - --- SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version); - -INSERT into config.workstation_setting_type (name, grp, datatype, label) -VALUES ( - 'eg.grid.admin.local.cash_reports.desk_payments', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.local.cash_reports.desk_payments', - 'Grid Config: admin.local.cash_reports.desk_payments', - 'cwst', 'label' - ) -), ( - 'eg.grid.admin.local.cash_reports.user_payments', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.local.cash_reports.user_payments', - 'Grid Config: admin.local.cash_reports.user_payments', - 'cwst', 'label' - ) -); - -COMMIT;