Skip to content

Commit

Permalink
Adjust types in database export
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Nov 16, 2023
1 parent 6124429 commit 6f9a4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/src/bin/postgres-to-sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ impl Table for Error {
fn sqlite_execute_insert(&self, statement: &mut rusqlite::Statement, row: tokio_postgres::Row) {
statement
.execute(params![
row.get::<_, i32>(0),
row.get::<_, &str>(0),
row.get::<_, i32>(1),
row.get::<_, Option<&str>>(2),
])
Expand Down

0 comments on commit 6f9a4f1

Please sign in to comment.