Skip to content

Commit

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

0 comments on commit 442a9f3

Please sign in to comment.