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 ('1270', :eg_version); -- sandbergja/mllewellyn/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1271', :eg_version); -- phasefx/tmcanna/gmcharlt
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1271', :eg_version);
+
+INSERT INTO config.org_unit_setting_type
+ (grp, name, datatype, label, description, update_perm, view_perm)
+VALUES (
+ 'credit',
+ 'credit.processor.stripe.currency', 'string',
+ oils_i18n_gettext(
+ 'credit.processor.stripe.currency',
+ 'Stripe ISO 4217 currency code',
+ 'coust',
+ 'label'
+ ),
+ oils_i18n_gettext(
+ 'credit.processor.stripe.currency',
+ 'Use an all lowercase version of a Stripe-supported ISO 4217 currency code. Defaults to "usd"',
+ 'coust',
+ 'description'
+ ),
+ (SELECT id FROM permission.perm_list WHERE code = 'ADMIN_CREDIT_CARD_PROCESSING'),
+ (SELECT id FROM permission.perm_list WHERE code = 'VIEW_CREDIT_CARD_PROCESSING')
+);
+
+COMMIT;
+++ /dev/null
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO config.org_unit_setting_type
- (grp, name, datatype, label, description, update_perm, view_perm)
-VALUES (
- 'credit',
- 'credit.processor.stripe.currency', 'string',
- oils_i18n_gettext(
- 'credit.processor.stripe.currency',
- 'Stripe ISO 4217 currency code',
- 'coust',
- 'label'
- ),
- oils_i18n_gettext(
- 'credit.processor.stripe.currency',
- 'Use an all lowercase version of a Stripe-supported ISO 4217 currency code. Defaults to "usd"',
- 'coust',
- 'description'
- ),
- (SELECT id FROM permission.perm_list WHERE code = 'ADMIN_CREDIT_CARD_PROCESSING'),
- (SELECT id FROM permission.perm_list WHERE code = 'VIEW_CREDIT_CARD_PROCESSING')
-);
-
-COMMIT;