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 ('1224', :eg_version); -- rhamby/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1226', :eg_version); -- phasefx/gmcharlt
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1225', :eg_version);
+
+ALTER TABLE acq.provider ADD COLUMN primary_contact INT;
+ALTER TABLE acq.provider ADD CONSTRAINT acq_provider_primary_contact_fkey FOREIGN KEY (primary_contact) REFERENCES acq.provider_contact (id) ON DELETE SET NULL ON UPDATE CASCADE DEFERRABLE INITIALLY DEFERRED;
+
+COMMIT;
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1226', :eg_version);
+
+INSERT INTO config.workstation_setting_type
+ (name, grp, datatype, label)
+VALUES (
+ 'eg.grid.acq.provider.addresses', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.acq.provider.addresses',
+ 'Grid Config: acq.provider.addresses',
+ 'cwst', 'label')
+), (
+ 'eg.grid.acq.provider.attributes', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.acq.provider.attributes',
+ 'Grid Config: acq.provider.attributes',
+ 'cwst', 'label')
+), (
+ 'eg.grid.acq.provider.contact.addresses', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.acq.provider.contact.addresses',
+ 'Grid Config: acq.provider.contact.addresses',
+ 'cwst', 'label')
+), (
+ 'eg.grid.acq.provider.contacts', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.acq.provider.contacts',
+ 'Grid Config: acq.provider.contacts',
+ 'cwst', 'label')
+), (
+ 'eg.grid.acq.provider.edi_accounts', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.acq.provider.edi_accounts',
+ 'Grid Config: acq.provider.edi_accounts',
+ 'cwst', 'label')
+), (
+ 'eg.grid.acq.provider.edi_messages', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.acq.provider.edi_messages',
+ 'Grid Config: acq.provider.edi_messages',
+ 'cwst', 'label')
+), (
+ 'eg.grid.acq.provider.holdings', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.acq.provider.holdings',
+ 'Grid Config: acq.provider.holdings',
+ 'cwst', 'label')
+), (
+ 'eg.grid.acq.provider.invoices', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.acq.provider.invoices',
+ 'Grid Config: acq.provider.invoices',
+ 'cwst', 'label')
+), (
+ 'eg.grid.acq.provider.purchaseorders', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.acq.provider.purchaseorders',
+ 'Grid Config: acq.provider.purchaseorders',
+ 'cwst', 'label')
+), (
+ 'eg.grid.acq.provider.search.results', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.acq.provider.search.results',
+ 'Grid Config: acq.provider.search.results',
+ 'cwst', 'label')
+);
+
+COMMIT;
+++ /dev/null
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-ALTER TABLE acq.provider ADD COLUMN primary_contact INT;
-ALTER TABLE acq.provider ADD CONSTRAINT acq_provider_primary_contact_fkey FOREIGN KEY (primary_contact) REFERENCES acq.provider_contact (id) ON DELETE SET NULL ON UPDATE CASCADE DEFERRABLE INITIALLY DEFERRED;
-
-COMMIT;
+++ /dev/null
-BEGIN;
-
-INSERT INTO config.workstation_setting_type
- (name, grp, datatype, label)
-VALUES (
- 'eg.grid.acq.provider.addresses', 'gui', 'object',
- oils_i18n_gettext(
- 'eg.grid.acq.provider.addresses',
- 'Grid Config: acq.provider.addresses',
- 'cwst', 'label')
-), (
- 'eg.grid.acq.provider.attributes', 'gui', 'object',
- oils_i18n_gettext(
- 'eg.grid.acq.provider.attributes',
- 'Grid Config: acq.provider.attributes',
- 'cwst', 'label')
-), (
- 'eg.grid.acq.provider.contact.addresses', 'gui', 'object',
- oils_i18n_gettext(
- 'eg.grid.acq.provider.contact.addresses',
- 'Grid Config: acq.provider.contact.addresses',
- 'cwst', 'label')
-), (
- 'eg.grid.acq.provider.contacts', 'gui', 'object',
- oils_i18n_gettext(
- 'eg.grid.acq.provider.contacts',
- 'Grid Config: acq.provider.contacts',
- 'cwst', 'label')
-), (
- 'eg.grid.acq.provider.edi_accounts', 'gui', 'object',
- oils_i18n_gettext(
- 'eg.grid.acq.provider.edi_accounts',
- 'Grid Config: acq.provider.edi_accounts',
- 'cwst', 'label')
-), (
- 'eg.grid.acq.provider.edi_messages', 'gui', 'object',
- oils_i18n_gettext(
- 'eg.grid.acq.provider.edi_messages',
- 'Grid Config: acq.provider.edi_messages',
- 'cwst', 'label')
-), (
- 'eg.grid.acq.provider.holdings', 'gui', 'object',
- oils_i18n_gettext(
- 'eg.grid.acq.provider.holdings',
- 'Grid Config: acq.provider.holdings',
- 'cwst', 'label')
-), (
- 'eg.grid.acq.provider.invoices', 'gui', 'object',
- oils_i18n_gettext(
- 'eg.grid.acq.provider.invoices',
- 'Grid Config: acq.provider.invoices',
- 'cwst', 'label')
-), (
- 'eg.grid.acq.provider.purchaseorders', 'gui', 'object',
- oils_i18n_gettext(
- 'eg.grid.acq.provider.purchaseorders',
- 'Grid Config: acq.provider.purchaseorders',
- 'cwst', 'label')
-), (
- 'eg.grid.acq.provider.search.results', 'gui', 'object',
- oils_i18n_gettext(
- 'eg.grid.acq.provider.search.results',
- 'Grid Config: acq.provider.search.results',
- 'cwst', 'label')
-);
-
-COMMIT;