Fix multi-path distance summing

This commit is contained in:
Jack Kingsman
2026-01-18 20:23:37 -08:00
parent b03f5738eb
commit 30e3eb47be
8 changed files with 60 additions and 25 deletions
+1 -1
View File
@@ -549,7 +549,7 @@ async def _migrate_008_convert_path_to_paths_array(conn: aiosqlite.Connection) -
cursor = await conn.execute(
"SELECT id, path, received_at FROM messages WHERE path IS NOT NULL AND paths IS NULL"
)
rows = await cursor.fetchall()
rows = list(await cursor.fetchall())
if rows:
logger.info("Converting %d messages from path to paths array format...", len(rows))