From: Galen Charlton Date: Fri, 6 Sep 2019 16:33:24 +0000 (-0400) Subject: LP#1753536: stamp DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=47472b2468519769d0d0c7d9c34ef4b551d6fa6d;p=evergreen%2Fjoelewis.git LP#1753536: 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 cc7aa22ea6..2f61d63c1d 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 ('1178', :eg_version); -- terran/rhamby/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1179', :eg_version); -- dpearl/Dycrona/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1179.data.yaous_show_owning_lib_column.sql b/Open-ILS/src/sql/Pg/upgrade/1179.data.yaous_show_owning_lib_column.sql new file mode 100644 index 0000000000..9814ef8626 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1179.data.yaous_show_owning_lib_column.sql @@ -0,0 +1,25 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1179', :eg_version); + +INSERT INTO config.org_unit_setting_type + (grp, name, datatype, label, description) +VALUES ( + 'opac', + 'opac.show_owning_lib_column', 'bool', + oils_i18n_gettext( + 'opac.show_owning_lib_column', + 'Show Owning Lib in Items Out', + 'coust', + 'label' + ), + oils_i18n_gettext( + 'opac.show_owning_lib_column', +'If enabled, the Owning Lib will be shown in the Items Out display.' || +' This may assist in requesting additional renewals', + 'coust', + 'description' + ) +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous_show_owning_lib_column.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous_show_owning_lib_column.sql deleted file mode 100644 index 7ee775b232..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous_show_owning_lib_column.sql +++ /dev/null @@ -1,25 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO config.org_unit_setting_type - (grp, name, datatype, label, description) -VALUES ( - 'opac', - 'opac.show_owning_lib_column', 'bool', - oils_i18n_gettext( - 'opac.show_owning_lib_column', - 'Show Owning Lib in Items Out', - 'coust', - 'label' - ), - oils_i18n_gettext( - 'opac.show_owning_lib_column', -'If enabled, the Owning Lib will be shown in the Items Out display.' || -' This may assist in requesting additional renewals', - 'coust', - 'description' - ) -); - -COMMIT;