From: Galen Charlton Date: Wed, 7 Jul 2021 14:42:54 +0000 (-0400) Subject: LP#1907296: stamp DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=61bdd833b2b091a31a14515466869739163c4663;p=evergreen%2Fpines.git LP#1907296: stamp DB update Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 682ed9a3aa..fd1646c3f9 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 ('1265', :eg_version); -- phasefx/mmorgan/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1266', :eg_version); -- mmorgan/jpringle/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1266.ws_setting_eg_grid_catalog_record_copies.sql b/Open-ILS/src/sql/Pg/upgrade/1266.ws_setting_eg_grid_catalog_record_copies.sql new file mode 100644 index 0000000000..2575c5a654 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1266.ws_setting_eg_grid_catalog_record_copies.sql @@ -0,0 +1,14 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1266', :eg_version); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.catalog.record.copies', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.catalog.record.copies', + 'Grid Config: eg.grid.catalog.record.copies', + 'cwst', 'label') + ); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ws_setting_eg_grid_catalog_record_copies b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ws_setting_eg_grid_catalog_record_copies deleted file mode 100644 index 58e3a37e1f..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ws_setting_eg_grid_catalog_record_copies +++ /dev/null @@ -1,14 +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.catalog.record.copies', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.catalog.record.copies', - 'Grid Config: eg.grid.catalog.record.copies', - 'cwst', 'label') - ); - -COMMIT;