Skip to content

Commit 45e0afe

Browse files
authored
Merge pull request #1746 from Mark-Simulacrum/fix-db-export
Adjust types in database export
2 parents 6124429 + 6f9a4f1 commit 45e0afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/src/bin/postgres-to-sqlite.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ impl Table for Error {
202202
fn sqlite_execute_insert(&self, statement: &mut rusqlite::Statement, row: tokio_postgres::Row) {
203203
statement
204204
.execute(params![
205-
row.get::<_, i32>(0),
205+
row.get::<_, &str>(0),
206206
row.get::<_, i32>(1),
207207
row.get::<_, Option<&str>>(2),
208208
])

0 commit comments

Comments
 (0)