Skip to content

Commit

Permalink
fixed schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshay S authored and Akshay S committed May 15, 2024
1 parent b55f4b9 commit beefa58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/diesel_models/src/payment_method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ pub struct PaymentMethod {
pub status: storage_enums::PaymentMethodStatus,
pub network_transaction_id: Option<String>,
pub client_secret: Option<String>,
pub updated_by : Option<String>,
pub payment_method_billing_address: Option<Encryption>,
pub updated_by : Option<String>,
}

#[derive(
Expand Down
4 changes: 2 additions & 2 deletions crates/diesel_models/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ diesel::table! {
address_id -> Nullable<Varchar>,
#[max_length = 64]
default_payment_method_id -> Nullable<Varchar>,
#[max_length = 64]
#[max_length = 255]
updated_by -> Nullable<Varchar>,
}
}
Expand Down Expand Up @@ -930,9 +930,9 @@ diesel::table! {
network_transaction_id -> Nullable<Varchar>,
#[max_length = 128]
client_secret -> Nullable<Varchar>,
payment_method_billing_address -> Nullable<Bytea>,
#[max_length = 64]
updated_by -> Nullable<Varchar>,
payment_method_billing_address -> Nullable<Bytea>,
}
}

Expand Down

0 comments on commit beefa58

Please sign in to comment.