Skip to content

Commit c9e8a9b

Browse files
fix(storage_models): fix incorrect field order in MerchantConnectorAccount (#976)
1 parent 23b5647 commit c9e8a9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/storage_models/src/merchant_connector_account.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ pub struct MerchantConnectorAccount {
2828
pub payment_methods_enabled: Option<Vec<serde_json::Value>>,
2929
pub connector_type: storage_enums::ConnectorType,
3030
pub metadata: Option<pii::SecretSerdeValue>,
31-
pub frm_configs: Option<Secret<serde_json::Value>>, //Option<FrmConfigs>
3231
pub connector_label: String,
3332
pub business_country: storage_enums::CountryCode,
3433
pub business_label: String,
3534
pub business_sub_label: Option<String>,
35+
pub frm_configs: Option<Secret<serde_json::Value>>,
3636
pub created_at: time::PrimitiveDateTime,
3737
pub modified_at: time::PrimitiveDateTime,
3838
}
@@ -49,11 +49,11 @@ pub struct MerchantConnectorAccountNew {
4949
pub merchant_connector_id: String,
5050
pub payment_methods_enabled: Option<Vec<serde_json::Value>>,
5151
pub metadata: Option<pii::SecretSerdeValue>,
52-
pub frm_configs: Option<Secret<serde_json::Value>>,
5352
pub connector_label: String,
5453
pub business_country: storage_enums::CountryCode,
5554
pub business_label: String,
5655
pub business_sub_label: Option<String>,
56+
pub frm_configs: Option<Secret<serde_json::Value>>,
5757
pub created_at: time::PrimitiveDateTime,
5858
pub modified_at: time::PrimitiveDateTime,
5959
}

crates/storage_models/src/schema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,11 +266,11 @@ diesel::table! {
266266
payment_methods_enabled -> Nullable<Array<Nullable<Json>>>,
267267
connector_type -> ConnectorType,
268268
metadata -> Nullable<Jsonb>,
269-
frm_configs -> Nullable<Jsonb>,
270269
connector_label -> Varchar,
271270
business_country -> CountryCode,
272271
business_label -> Varchar,
273272
business_sub_label -> Nullable<Varchar>,
273+
frm_configs -> Nullable<Jsonb>,
274274
created_at -> Timestamp,
275275
modified_at -> Timestamp,
276276
}

0 commit comments

Comments
 (0)