From 6f9a4f1278774a1e1db0ac99fab674ac977f05a5 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Thu, 16 Nov 2023 07:31:51 -0500 Subject: [PATCH] Adjust types in database export --- database/src/bin/postgres-to-sqlite.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/src/bin/postgres-to-sqlite.rs b/database/src/bin/postgres-to-sqlite.rs index a752e66cf..b8492e5d9 100644 --- a/database/src/bin/postgres-to-sqlite.rs +++ b/database/src/bin/postgres-to-sqlite.rs @@ -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), ])