From: Bill Erickson Date: Thu, 21 Feb 2019 17:30:45 +0000 (-0500) Subject: LP1806087 Repair SQL upgrade script file name X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c85d6a55a5edc1b37e76366f8849326a586996da;p=evergreen%2Ftadl.git LP1806087 Repair SQL upgrade script file name Make the name of the file match the upgrade version number applied by the file. As is, build/tools/update_db.sh fails to recognize a new update is available. Signed-off-by: Bill Erickson Signed-off-by: Dan Wells --- diff --git a/Open-ILS/src/sql/Pg/upgrade/1151.data.ang-catalog-preview-setting.sql b/Open-ILS/src/sql/Pg/upgrade/1151.data.ang-catalog-preview-setting.sql deleted file mode 100644 index 794d5ca73b..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/1151.data.ang-catalog-preview-setting.sql +++ /dev/null @@ -1,23 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('1152', :eg_version); - -INSERT into config.org_unit_setting_type - (name, datatype, grp, label, description) -VALUES ( - 'ui.staff.angular_catalog.enabled', 'bool', 'gui', - oils_i18n_gettext( - 'ui.staff.angular_catalog.enabled', - 'GUI: Enable Experimental Angular Staff Catalog', - 'coust', 'label' - ), - oils_i18n_gettext( - 'ui.staff.angular_catalog.enabled', - 'Display an entry point in the browser client for the ' || - 'experimental Angular staff catalog.', - 'coust', 'description' - ) -); - -COMMIT; - diff --git a/Open-ILS/src/sql/Pg/upgrade/1152.data.ang-catalog-preview-setting.sql b/Open-ILS/src/sql/Pg/upgrade/1152.data.ang-catalog-preview-setting.sql new file mode 100644 index 0000000000..794d5ca73b --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1152.data.ang-catalog-preview-setting.sql @@ -0,0 +1,23 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1152', :eg_version); + +INSERT into config.org_unit_setting_type + (name, datatype, grp, label, description) +VALUES ( + 'ui.staff.angular_catalog.enabled', 'bool', 'gui', + oils_i18n_gettext( + 'ui.staff.angular_catalog.enabled', + 'GUI: Enable Experimental Angular Staff Catalog', + 'coust', 'label' + ), + oils_i18n_gettext( + 'ui.staff.angular_catalog.enabled', + 'Display an entry point in the browser client for the ' || + 'experimental Angular staff catalog.', + 'coust', 'description' + ) +); + +COMMIT; +