From d16063d97b6ca100e0f8c65ac0a3f8a63b67488c Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 9 May 2026 00:42:57 +0100 Subject: [PATCH] refactor: use kysely table identifiers --- src/infra/state-migrations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infra/state-migrations.ts b/src/infra/state-migrations.ts index 0390e5adf7a..dbcfb6f02db 100644 --- a/src/infra/state-migrations.ts +++ b/src/infra/state-migrations.ts @@ -1923,7 +1923,7 @@ function countGlobalAgentOwnedSqliteRows(params: { const kysely = getNodeSqliteKysely(db); const row = executeCompiledSqliteQuerySync( db, - sql`SELECT COUNT(*) AS count FROM ${sql.id(params.table)}`.compile(kysely), + sql`SELECT COUNT(*) AS count FROM ${sql.table(params.table)}`.compile(kysely), ).rows[0]; return typeof row?.count === "bigint" ? Number(row.count) : row?.count; } catch {