forked from trent_larson/crowd-funder-for-time-pwa
fix extraction of migration names for SQLite via Capacitor
This commit is contained in:
@@ -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> =
|
||||
|
||||
Reference in New Issue
Block a user