From 5c7a963db9acb31277db22f5ce5c174f80876706 Mon Sep 17 00:00:00 2001 From: Rachit Naithani Date: Thu, 19 Dec 2024 13:08:45 +0530 Subject: [PATCH] schema fix --- crates/diesel_models/src/payment_intent.rs | 4 ++-- crates/diesel_models/src/schema.rs | 2 +- crates/diesel_models/src/schema_v2.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/diesel_models/src/payment_intent.rs b/crates/diesel_models/src/payment_intent.rs index 5f61ec452919..f5139e98fc12 100644 --- a/crates/diesel_models/src/payment_intent.rs +++ b/crates/diesel_models/src/payment_intent.rs @@ -73,8 +73,8 @@ pub struct PaymentIntent { pub payment_link_config: Option, pub id: common_utils::id_type::GlobalPaymentId, pub psd2_sca_exemption_type: Option, - pub platform_merchant_id: Option, pub split_payments: Option, + pub platform_merchant_id: Option, } #[cfg(feature = "v1")] @@ -140,8 +140,8 @@ pub struct PaymentIntent { pub tax_details: Option, pub skip_external_tax_calculation: Option, pub psd2_sca_exemption_type: Option, - pub platform_merchant_id: Option, pub split_payments: Option, + pub platform_merchant_id: Option, } #[derive(Clone, Debug, serde::Deserialize, serde::Serialize, diesel::AsExpression, PartialEq)] diff --git a/crates/diesel_models/src/schema.rs b/crates/diesel_models/src/schema.rs index 33fa5099f9be..ac447148b0a5 100644 --- a/crates/diesel_models/src/schema.rs +++ b/crates/diesel_models/src/schema.rs @@ -968,9 +968,9 @@ diesel::table! { tax_details -> Nullable, skip_external_tax_calculation -> Nullable, psd2_sca_exemption_type -> Nullable, + split_payments -> Nullable, #[max_length = 64] platform_merchant_id -> Nullable, - split_payments -> Nullable, } } diff --git a/crates/diesel_models/src/schema_v2.rs b/crates/diesel_models/src/schema_v2.rs index bf523e4c53e6..4cc97f46b880 100644 --- a/crates/diesel_models/src/schema_v2.rs +++ b/crates/diesel_models/src/schema_v2.rs @@ -931,9 +931,9 @@ diesel::table! { #[max_length = 64] id -> Varchar, psd2_sca_exemption_type -> Nullable, + split_payments -> Nullable, #[max_length = 64] platform_merchant_id -> Nullable, - split_payments -> Nullable, } }