BEGIN;
-INSERT INTO config.org_unit_setting_type
- (name, label, description, datatype, view_perm, update_perm, grp)
-VALUES
- (
- 'credit.processor.payflowhosted.skip_silent_post_url',
- 'PayflowHosted: Avoid dynamic Silent POST URL',
- 'Let PP use the Silent Post URL configured in the PayPal Manager ' ||
- 'instead of sending our a dynamic (Apache host-based) URL',
- 'bool', 1005, 1006, 'credit'
- );
+DO $$
+BEGIN
+ IF evergreen.insert_on_deploy() THEN
+
+ INSERT INTO config.org_unit_setting_type
+ (name, label, description, datatype, view_perm, update_perm, grp)
+ VALUES
+ (
+ 'credit.processor.payflowhosted.skip_silent_post_url',
+ 'PayflowHosted: Avoid dynamic Silent POST URL',
+ 'Let PP use the Silent Post URL configured in the PayPal Manager ' ||
+ 'instead of sending our a dynamic (Apache host-based) URL',
+ 'bool', 1005, 1006, 'credit'
+ );
+
+ END IF; -- insert_on_deploy
+END $$;
COMMIT;