diff --git a/crates/diesel_models/src/payment_method.rs b/crates/diesel_models/src/payment_method.rs index ed00b83070e3..e371c22882b4 100644 --- a/crates/diesel_models/src/payment_method.rs +++ b/crates/diesel_models/src/payment_method.rs @@ -41,8 +41,8 @@ pub struct PaymentMethod { pub status: storage_enums::PaymentMethodStatus, pub network_transaction_id: Option, pub client_secret: Option, - pub updated_by : Option, pub payment_method_billing_address: Option, + pub updated_by : Option, } #[derive( diff --git a/crates/diesel_models/src/schema.rs b/crates/diesel_models/src/schema.rs index 24f3c426a91d..68130b6515db 100644 --- a/crates/diesel_models/src/schema.rs +++ b/crates/diesel_models/src/schema.rs @@ -294,7 +294,7 @@ diesel::table! { address_id -> Nullable, #[max_length = 64] default_payment_method_id -> Nullable, - #[max_length = 64] + #[max_length = 255] updated_by -> Nullable, } } @@ -930,9 +930,9 @@ diesel::table! { network_transaction_id -> Nullable, #[max_length = 128] client_secret -> Nullable, + payment_method_billing_address -> Nullable, #[max_length = 64] updated_by -> Nullable, - payment_method_billing_address -> Nullable, } }