Skip to content

Commit

Permalink
Merge pull request #355 from helium/bbalser/iot_verifier/default_vers…
Browse files Browse the repository at this point in the history
…ion_query

add sqlx(default) to version in Report
  • Loading branch information
andymck authored Feb 10, 2023
2 parents a455e09 + 72ea4d6 commit 83a8d17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iot_verifier/src/poc_report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ pub struct Report {
pub report_timestamp: Option<DateTime<Utc>>,
pub last_processed: Option<DateTime<Utc>>,
pub created_at: Option<DateTime<Utc>>,
#[sqlx(default)]
#[sqlx(default)] // required to facilitate queries that don't include entropy
pub timestamp: Option<DateTime<Utc>>,
#[sqlx(default)]
pub version: Option<i32>,
}

Expand Down

0 comments on commit 83a8d17

Please sign in to comment.