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 ('1152', :eg_version); -- berick/dbwells
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1153', :eg_version); -- abowling/kmlussier/csharp
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1153', :eg_version);
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.left_margin'
+ ,'Item Print Label - Left Margin for Spine Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.left_margin'
+ ,'Set the default left margin for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.left_label.left_margin';
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.left_margin'
+ ,'Item Print Label - Left Margin for Pocket Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.left_margin'
+ ,'Set the default left margin for the item print Pocket Label (or in other words, the desired space between the two labels). Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.right_label.left_margin';
+
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.height'
+ ,'Item Print Label - Height for Spine Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.height'
+ ,'Set the default height for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.left_label.height';
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.width'
+ ,'Item Print Label - Width for Spine Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.width'
+ ,'Set the default width for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.left_label.width';
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.height'
+ ,'Item Print Label - Height for Pocket Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.height'
+ ,'Set the default height for the item print Pocket Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.right_label.height';
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.width'
+ ,'Item Print Label - Width for Pocket Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.width'
+ ,'Set the default width for the item print Pocket Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.right_label.width';
+
+COMMIT;
+++ /dev/null
-BEGIN;
-
---SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-UPDATE config.org_unit_setting_type
-SET label = oils_i18n_gettext(
- 'webstaff.cat.label.left_label.left_margin'
- ,'Item Print Label - Left Margin for Spine Label'
- ,'coust'
- ,'label'
- ),
- description = oils_i18n_gettext(
- 'webstaff.cat.label.left_label.left_margin'
- ,'Set the default left margin for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
- ,'coust'
- ,'description'
- )
-WHERE NAME = 'webstaff.cat.label.left_label.left_margin';
-
-UPDATE config.org_unit_setting_type
-SET label = oils_i18n_gettext(
- 'webstaff.cat.label.right_label.left_margin'
- ,'Item Print Label - Left Margin for Pocket Label'
- ,'coust'
- ,'label'
- ),
- description = oils_i18n_gettext(
- 'webstaff.cat.label.right_label.left_margin'
- ,'Set the default left margin for the item print Pocket Label (or in other words, the desired space between the two labels). Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
- ,'coust'
- ,'description'
- )
-WHERE NAME = 'webstaff.cat.label.right_label.left_margin';
-
-
-UPDATE config.org_unit_setting_type
-SET label = oils_i18n_gettext(
- 'webstaff.cat.label.left_label.height'
- ,'Item Print Label - Height for Spine Label'
- ,'coust'
- ,'label'
- ),
- description = oils_i18n_gettext(
- 'webstaff.cat.label.left_label.height'
- ,'Set the default height for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
- ,'coust'
- ,'description'
- )
-WHERE NAME = 'webstaff.cat.label.left_label.height';
-
-UPDATE config.org_unit_setting_type
-SET label = oils_i18n_gettext(
- 'webstaff.cat.label.left_label.width'
- ,'Item Print Label - Width for Spine Label'
- ,'coust'
- ,'label'
- ),
- description = oils_i18n_gettext(
- 'webstaff.cat.label.left_label.width'
- ,'Set the default width for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
- ,'coust'
- ,'description'
- )
-WHERE NAME = 'webstaff.cat.label.left_label.width';
-
-UPDATE config.org_unit_setting_type
-SET label = oils_i18n_gettext(
- 'webstaff.cat.label.right_label.height'
- ,'Item Print Label - Height for Pocket Label'
- ,'coust'
- ,'label'
- ),
- description = oils_i18n_gettext(
- 'webstaff.cat.label.right_label.height'
- ,'Set the default height for the item print Pocket Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
- ,'coust'
- ,'description'
- )
-WHERE NAME = 'webstaff.cat.label.right_label.height';
-
-UPDATE config.org_unit_setting_type
-SET label = oils_i18n_gettext(
- 'webstaff.cat.label.right_label.width'
- ,'Item Print Label - Width for Pocket Label'
- ,'coust'
- ,'label'
- ),
- description = oils_i18n_gettext(
- 'webstaff.cat.label.right_label.width'
- ,'Set the default width for the item print Pocket Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
- ,'coust'
- ,'description'
- )
-WHERE NAME = 'webstaff.cat.label.right_label.width';
-
-COMMIT;