Browse Source
The complex table rewrite approach in migration 003_active_did_separation was failing on iOS SQLite, causing "no such table: active_identity" errors. The migration was being marked as applied despite validation failures. Changes: - Simplify migration SQL to only create active_identity table and migrate data - Remove complex table rewrite that was failing on iOS SQLite versions - Remove foreign key constraint that could cause compatibility issues - Update validation logic to focus on active_identity table existence only - Remove validation check for activeDid column removal from settings table This approach is more reliable across different SQLite versions and platforms while maintaining the core functionality of separating activeDid into its own table for better database architecture. Fixes iOS build database errors and ensures migration completes successfully.pull/188/head
2 changed files with 75 additions and 35 deletions
Loading…
Reference in new issue