Skip to content

Commit

Permalink
update schema_v2.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
hrithikesh026 committed Feb 20, 2025
1 parent ddef69b commit 35d7bcf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/diesel_models/src/business_profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,9 @@ pub struct Profile {
pub frm_routing_algorithm_id: Option<String>,
pub payout_routing_algorithm_id: Option<common_utils::id_type::RoutingId>,
pub default_fallback_routing: Option<pii::SecretSerdeValue>,
pub three_ds_decision_manager_config: Option<common_types::payments::DecisionManagerRecord>,
pub should_collect_cvv_during_payment: bool,
pub id: common_utils::id_type::ProfileId,
pub three_ds_decision_manager_config: Option<common_types::payments::DecisionManagerRecord>,
}

impl Profile {
Expand Down
2 changes: 1 addition & 1 deletion crates/diesel_models/src/merchant_connector_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ pub struct MerchantConnectorAccount {
pub additional_merchant_data: Option<Encryption>,
pub connector_wallets_details: Option<Encryption>,
pub version: common_enums::ApiVersion,
pub id: id_type::MerchantConnectorAccountId,
pub feature_metadata: Option<MerchantConnectorAccountFeatureMetadata>,
pub id: id_type::MerchantConnectorAccountId,
}

#[cfg(feature = "v2")]
Expand Down
4 changes: 2 additions & 2 deletions crates/diesel_models/src/schema_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ diesel::table! {
#[max_length = 64]
payout_routing_algorithm_id -> Nullable<Varchar>,
default_fallback_routing -> Nullable<Jsonb>,
three_ds_decision_manager_config -> Nullable<Jsonb>,
should_collect_cvv_during_payment -> Bool,
#[max_length = 64]
id -> Varchar,
three_ds_decision_manager_config -> Nullable<Jsonb>,
}
}

Expand Down Expand Up @@ -759,9 +759,9 @@ diesel::table! {
additional_merchant_data -> Nullable<Bytea>,
connector_wallets_details -> Nullable<Bytea>,
version -> ApiVersion,
feature_metadata -> Nullable<Jsonb>,
#[max_length = 64]
id -> Varchar,
feature_metadata -> Nullable<Jsonb>,
}
}

Expand Down

0 comments on commit 35d7bcf

Please sign in to comment.