]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/1271.data.org-setting-stripe-currency.sql
LP#1831803: (follow-up) update release notes formatting
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 1271.data.org-setting-stripe-currency.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('1271', :eg_version);
4
5 INSERT INTO config.org_unit_setting_type
6     (grp, name, datatype, label, description, update_perm, view_perm)
7 VALUES (
8     'credit',
9     'credit.processor.stripe.currency', 'string',
10     oils_i18n_gettext(
11         'credit.processor.stripe.currency',
12         'Stripe ISO 4217 currency code',
13         'coust',
14         'label'
15     ),
16     oils_i18n_gettext(
17         'credit.processor.stripe.currency',
18         'Use an all lowercase version of a Stripe-supported ISO 4217 currency code.  Defaults to "usd"',
19         'coust',
20         'description'
21     ),
22     (SELECT id FROM permission.perm_list WHERE code = 'ADMIN_CREDIT_CARD_PROCESSING'),
23     (SELECT id FROM permission.perm_list WHERE code = 'VIEW_CREDIT_CARD_PROCESSING')
24 );
25
26 COMMIT;