Skip to content

Commit 3e87023

Browse files
committed
feat(fetcher): log landing upsertion
1 parent 33c5b54 commit 3e87023

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

crates/fetcher/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ async fn update_landings(
112112
branch_id: branch.id(),
113113
};
114114
landing.upsert(db_connection).await?;
115+
info!("Upserted {landing:?}");
115116
}
116117

117118
Ok(())

crates/store/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ impl From<PrNumber> for NonZeroU32 {
258258
}
259259
}
260260

261-
#[derive(sqlx::FromRow, PartialEq, Eq, Debug)]
261+
#[derive(sqlx::FromRow, PartialEq, Eq, Debug, Clone, Copy)]
262262
pub struct Landing {
263263
pub github_pr: PrNumber,
264264
pub branch_id: BranchId,

0 commit comments

Comments
 (0)