Skip to content

Commit

Permalink
fix(oo-schemas): expiratioon timestamp as BigDecimal
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyRo1 committed Aug 12, 2024
1 parent bca9731 commit 6e4f035
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub struct OORequest {
pub callback_recipient: String,
pub escalation_manager: String,
pub caller: String,
pub expiration_timestamp: i64,
pub expiration_timestamp: BigDecimal,
pub settled: Option<bool>,
pub settlement_resolution: Option<bool>,
pub settle_caller: Option<String>,
Expand Down
2 changes: 1 addition & 1 deletion src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ diesel::table! {
escalation_manager -> Varchar,
#[max_length = 255]
caller -> Varchar,
expiration_timestamp -> BigInt,
expiration_timestamp -> Numeric,
settled -> Nullable<Bool>,
settlement_resolution -> Nullable<Bool>,
#[max_length = 255]
Expand Down

0 comments on commit 6e4f035

Please sign in to comment.