Browse Source
- Remove explicit transaction wrapping in migration service that caused "cannot start a transaction within a transaction" errors - Fix executeSet method call format to include both statement and values properties as required by Capacitor SQLite plugin - Update CapacitorPlatformService to properly handle multi-statement SQL using executeSet for migration SQL blocks - Ensure migration 004 (active_identity_management) executes atomically without nested transaction conflicts - Remove unnecessary try/catch wrapper Fixes iOS simulator migration failures where: - Migration 004 would fail with transaction errors - executeSet would fail with "Must provide a set as Array of {statement,values}" - Database initialization would fail after migration errors Tested on iOS simulator with successful migration completion and active_identity table creation with proper data migration.pull/188/head
2 changed files with 48 additions and 43 deletions
Loading…
Reference in new issue