fix extraction of migration names for SQLite via Capacitor

This commit is contained in:
2025-06-05 18:13:33 -06:00
parent 8e57692387
commit 493438215c
2 changed files with 3 additions and 3 deletions

View File

@@ -240,7 +240,7 @@ export class CapacitorPlatformService implements PlatformService {
result,
) => {
const names =
result.values?.map((row: unknown[]) => row[0] as string) || [];
result.values?.map((row: { name: string }) => row.name) || [];
return new Set(names);
};
const sqlExec: (sql: string) => Promise<capSQLiteChanges> =