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 ('0632', :eg_version); -- tsbere/berick
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0633', :eg_version); -- tsbere/phasefx
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+-- check whether patch can be applied
+SELECT evergreen.upgrade_deps_block_check('0633', :eg_version);
+
+INSERT into config.org_unit_setting_type
+( name, grp, label, description, datatype ) VALUES
+(
+ 'print.custom_js_file', 'circ',
+ oils_i18n_gettext(
+ 'print.custom_js_file',
+ 'Printing: Custom Javascript File',
+ 'coust',
+ 'label'
+ ),
+ oils_i18n_gettext(
+ 'print.custom_js_file',
+ 'Full URL path to a Javascript File to be loaded when printing. Should'
+ || ' implement a print_custom function for DOM manipulation. Can change'
+ || ' the value of the do_print variable to false to cancel printing.',
+ 'coust',
+ 'description'
+ ),
+ 'string'
+ );
+
+COMMIT;
+++ /dev/null
-INSERT into config.org_unit_setting_type
-( name, grp, label, description, datatype ) VALUES
-(
- 'print.custom_js_file', 'circ',
- oils_i18n_gettext(
- 'print.custom_js_file',
- 'Printing: Custom Javascript File',
- 'coust',
- 'label'
- ),
- oils_i18n_gettext(
- 'print.custom_js_file',
- 'Full URL path to a Javascript File to be loaded when printing. Should'
- || ' implement a print_custom function for DOM manipulation. Can change'
- || ' the value of the do_print variable to false to cancel printing.',
- 'coust',
- 'description'
- ),
- 'string'
- );