Skip to content

Commit 6f9a4f1

Browse files
Adjust types in database export
1 parent 6124429 commit 6f9a4f1

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)