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 ('1206', :eg_version); -- miker/dyrcona
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1207', :eg_version); -- mrisher/tmcanna/sandbergja
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1207', :eg_version);
+
+UPDATE config.org_unit_setting_type
+ SET description = oils_i18n_gettext(
+ 'circ.staff_client.receipt.alert_text',
+ 'Text to be inserted into Print Templates in place of {{includes.alert_text}}',
+ 'cwst', 'label')
+ WHERE name = 'circ.staff_client.receipt.alert_text';
+UPDATE config.org_unit_setting_type
+ SET description = oils_i18n_gettext(
+ 'circ.staff_client.receipt.event_text',
+ 'Text to be inserted into Print Templates in place of {{includes.event_text}}',
+ 'cwst', 'label')
+ WHERE name = 'circ.staff_client.receipt.event_text';
+UPDATE config.org_unit_setting_type
+ SET description = oils_i18n_gettext(
+ 'circ.staff_client.receipt.footer_text',
+ 'Text to be inserted into Print Templates in place of {{includes.footer_text}}',
+ 'cwst', 'label')
+ WHERE name = 'circ.staff_client.receipt.footer_text';
+UPDATE config.org_unit_setting_type
+ SET description = oils_i18n_gettext(
+ 'circ.staff_client.receipt.header_text',
+ 'Text to be inserted into Print Templates in place of {{includes.header_text}}',
+ 'cwst', 'label')
+ WHERE name = 'circ.staff_client.receipt.header_text';
+UPDATE config.org_unit_setting_type
+ SET description = oils_i18n_gettext(
+ 'circ.staff_client.receipt.notice_text',
+ 'Text to be inserted into Print Templates in place of {{includes.notice_text}}',
+ 'cwst', 'label')
+ WHERE name = 'circ.staff_client.receipt.notice_text';
+
+COMMIT;
+++ /dev/null
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-UPDATE config.org_unit_setting_type
- SET description = oils_i18n_gettext(
- 'circ.staff_client.receipt.alert_text',
- 'Text to be inserted into Print Templates in place of {{includes.alert_text}}',
- 'cwst', 'label')
- WHERE name = 'circ.staff_client.receipt.alert_text';
-UPDATE config.org_unit_setting_type
- SET description = oils_i18n_gettext(
- 'circ.staff_client.receipt.event_text',
- 'Text to be inserted into Print Templates in place of {{includes.event_text}}',
- 'cwst', 'label')
- WHERE name = 'circ.staff_client.receipt.event_text';
-UPDATE config.org_unit_setting_type
- SET description = oils_i18n_gettext(
- 'circ.staff_client.receipt.footer_text',
- 'Text to be inserted into Print Templates in place of {{includes.footer_text}}',
- 'cwst', 'label')
- WHERE name = 'circ.staff_client.receipt.footer_text';
-UPDATE config.org_unit_setting_type
- SET description = oils_i18n_gettext(
- 'circ.staff_client.receipt.header_text',
- 'Text to be inserted into Print Templates in place of {{includes.header_text}}',
- 'cwst', 'label')
- WHERE name = 'circ.staff_client.receipt.header_text';
-UPDATE config.org_unit_setting_type
- SET description = oils_i18n_gettext(
- 'circ.staff_client.receipt.notice_text',
- 'Text to be inserted into Print Templates in place of {{includes.notice_text}}',
- 'cwst', 'label')
- WHERE name = 'circ.staff_client.receipt.notice_text';
-
-COMMIT;