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 ('1161', :eg_version); -- jboyer/stompro/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1162', :eg_version); -- berick/Bmagic
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1162', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+ 'eg.print.config.default', 'gui', 'object',
+ oils_i18n_gettext (
+ 'eg.print.config.default',
+ 'Print config for default context',
+ 'cwst', 'label'
+ )
+), (
+ 'eg.print.config.receipt', 'gui', 'object',
+ oils_i18n_gettext (
+ 'eg.print.config.receipt',
+ 'Print config for receipt context',
+ 'cwst', 'label'
+ )
+), (
+ 'eg.print.config.label', 'gui', 'object',
+ oils_i18n_gettext (
+ 'eg.print.config.label',
+ 'Print config for label context',
+ 'cwst', 'label'
+ )
+), (
+ 'eg.print.config.mail', 'gui', 'object',
+ oils_i18n_gettext (
+ 'eg.print.config.mail',
+ 'Print config for mail context',
+ 'cwst', 'label'
+ )
+), (
+ 'eg.print.config.offline', 'gui', 'object',
+ oils_i18n_gettext (
+ 'eg.print.config.offline',
+ 'Print config for offline context',
+ 'cwst', 'label'
+ )
+);
+
+COMMIT;
+++ /dev/null
-BEGIN;
-
---SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
-VALUES (
- 'eg.print.config.default', 'gui', 'object',
- oils_i18n_gettext (
- 'eg.print.config.default',
- 'Print config for default context',
- 'cwst', 'label'
- )
-), (
- 'eg.print.config.receipt', 'gui', 'object',
- oils_i18n_gettext (
- 'eg.print.config.receipt',
- 'Print config for receipt context',
- 'cwst', 'label'
- )
-), (
- 'eg.print.config.label', 'gui', 'object',
- oils_i18n_gettext (
- 'eg.print.config.label',
- 'Print config for label context',
- 'cwst', 'label'
- )
-), (
- 'eg.print.config.mail', 'gui', 'object',
- oils_i18n_gettext (
- 'eg.print.config.mail',
- 'Print config for mail context',
- 'cwst', 'label'
- )
-), (
- 'eg.print.config.offline', 'gui', 'object',
- oils_i18n_gettext (
- 'eg.print.config.offline',
- 'Print config for offline context',
- 'cwst', 'label'
- )
-);
-
-COMMIT;