3 INSERT INTO config.upgrade_log (version) VALUES ('0038'); -- senator
5 UPDATE permission.perm_list
6 SET code = 'UPDATE_ORG_UNIT_SETTING.credit.payments.allow'
7 WHERE code = 'UPDATE_ORG_UNIT_SETTING.global.credit.allow';
9 UPDATE config.org_unit_setting_type
10 SET name = 'credit.payments.allow'
11 WHERE name = 'global.credit.allow';
13 UPDATE config.org_unit_setting_type
14 SET name = REGEXP_REPLACE(name, E'global\.', '')
15 WHERE name LIKE 'global.credit.%';
17 UPDATE config.org_unit_setting_type
18 SET label = 'Credit card processing: AuthorizeNet enabled'
19 WHERE name = 'credit.processor.authorizenet.enabled';
21 UPDATE config.org_unit_setting_type
22 SET label = 'Credit card processing: PayPal enabled'
23 WHERE name = 'credit.processor.paypal.enabled';
26 config.org_unit_setting_type ( name, label, description, datatype )
28 'credit.processor.default',
29 'Credit card processing: Name default credit processor',
30 'This might be "AuthorizeNet", "PayPal", etc.',