fix: persist workbench projection cursor

This commit is contained in:
lyon
2026-06-19 21:20:11 +08:00
parent 00852f6f95
commit 3f83852f60
10 changed files with 805 additions and 58 deletions
@@ -429,6 +429,9 @@ function createFakeQueryClient({ migrationReady, countErrorCode = null }) {
}
return { rows: [{ count: 0 }] };
}
if (sql.startsWith("CREATE INDEX IF NOT EXISTS ")) {
return { rows: [] };
}
throw new Error(`unexpected query: ${sql}`);
}
};