Skip to content

Commit

Permalink
refactor(schema): alter type of connector_transaction_data and connec…
Browse files Browse the repository at this point in the history
…tor_refund_data columns to 1024 chars
  • Loading branch information
kashif-m committed Jan 9, 2025
1 parent d8d8c40 commit 7979986
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13003,5 +13003,14 @@ pub fn get_worldpay_billing_required_fields() -> HashMap<String, RequiredFieldIn
value: None,
},
),
(
"billing.address.zip".to_string(),
RequiredFieldInfo {
required_field: "payment_method_data.billing.address.zip".to_string(),
display_name: "zip".to_string(),
field_type: enums::FieldType::UserAddressPincode,
value: None,
},
),
])
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ALTER TABLE payment_attempt ALTER COLUMN connector_transaction_data TYPE VARCHAR(512);
ALTER TABLE refund ALTER COLUMN connector_refund_data TYPE VARCHAR(512);
ALTER TABLE refund ALTER COLUMN connector_transaction_data TYPE VARCHAR(512);
ALTER TABLE captures ALTER COLUMN connector_capture_data TYPE VARCHAR(512);
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ALTER TABLE payment_attempt ALTER COLUMN connector_transaction_data TYPE VARCHAR(1024);
ALTER TABLE refund ALTER COLUMN connector_refund_data TYPE VARCHAR(1024);
ALTER TABLE refund ALTER COLUMN connector_transaction_data TYPE VARCHAR(1024);
ALTER TABLE captures ALTER COLUMN connector_capture_data TYPE VARCHAR(1024);

0 comments on commit 7979986

Please sign in to comment.