Skip to content

Commit

Permalink
Merge pull request #1746 from Mark-Simulacrum/fix-db-export
Browse files Browse the repository at this point in the history
Adjust types in database export
  • Loading branch information
Kobzol authored Nov 16, 2023
2 parents 6124429 + 6f9a4f1 commit 45e0afe
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 45e0afe

Please sign in to comment.