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 ('1301', :eg_version); -- csharp / gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1302', :eg_version); -- slink / dyrcona
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1302', :eg_version);
+
+UPDATE config.org_unit_setting_type
+ SET description = oils_i18n_gettext(
+ 'ui.circ.items_out.longoverdue',
+ 'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '||
+ 'or "Other/Special Circulations") the circulation '||
+ 'should appear while checked out, and B. Whether the circulation should '||
+ 'continue to appear in the "Other" tab when checked in with '||
+ 'outstanding fines. '||
+ '1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' ||
+ '5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.',
+ 'coust',
+ 'description'
+ )
+ WHERE name = 'ui.circ.items_out.longoverdue';
+
+UPDATE config.org_unit_setting_type
+ set description = oils_i18n_gettext(
+ 'ui.circ.items_out.lost',
+ 'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '||
+ 'or "Other/Special Circulations") the circulation '||
+ 'should appear while checked out, and B. Whether the circulation should '||
+ 'continue to appear in the "Other" tab when checked in with '||
+ 'outstanding fines. '||
+ '1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' ||
+ '5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.',
+ 'coust',
+ 'description'
+ )
+ WHERE name = 'ui.circ.items_out.lost';
+
+UPDATE config.org_unit_setting_type
+ set description = oils_i18n_gettext(
+ 'ui.circ.items_out.claimsreturned',
+ 'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '||
+ 'or "Other/Special Circulations") the circulation '||
+ 'should appear while checked out, and B. Whether the circulation should '||
+ 'continue to appear in the "Other" tab when checked in with '||
+ 'outstanding fines. '||
+ '1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' ||
+ '5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.',
+ 'coust',
+ 'description'
+ )
+ WHERE name = 'ui.circ.items_out.claimsreturned';
+
+END;
+++ /dev/null
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-UPDATE config.org_unit_setting_type
- SET description = oils_i18n_gettext(
- 'ui.circ.items_out.longoverdue',
- 'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '||
- 'or "Other/Special Circulations") the circulation '||
- 'should appear while checked out, and B. Whether the circulation should '||
- 'continue to appear in the "Other" tab when checked in with '||
- 'outstanding fines. '||
- '1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' ||
- '5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.',
- 'coust',
- 'description'
- )
- WHERE name = 'ui.circ.items_out.longoverdue';
-
-UPDATE config.org_unit_setting_type
- set description = oils_i18n_gettext(
- 'ui.circ.items_out.lost',
- 'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '||
- 'or "Other/Special Circulations") the circulation '||
- 'should appear while checked out, and B. Whether the circulation should '||
- 'continue to appear in the "Other" tab when checked in with '||
- 'outstanding fines. '||
- '1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' ||
- '5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.',
- 'coust',
- 'description'
- )
- WHERE name = 'ui.circ.items_out.lost';
-
-UPDATE config.org_unit_setting_type
- set description = oils_i18n_gettext(
- 'ui.circ.items_out.claimsreturned',
- 'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '||
- 'or "Other/Special Circulations") the circulation '||
- 'should appear while checked out, and B. Whether the circulation should '||
- 'continue to appear in the "Other" tab when checked in with '||
- 'outstanding fines. '||
- '1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' ||
- '5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.',
- 'coust',
- 'description'
- )
- WHERE name = 'ui.circ.items_out.claimsreturned';
-
-END;