You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Critical fixes to match Dnote v3 server schema:
1. Remove separate accounts table
- In v3, email/password were merged into users table
- Migration now joins accounts with users during migration
2. Add missing FullSyncBefore field to users
- This field exists in v3 server but was missing from migration
3. Update migration logic
- Users migration now LEFT JOINs with accounts table
- Email and password are migrated directly to users table
- Remove migrateAccounts function (no longer needed)
4. Update tests to match new schema
- Verify email/password on users instead of separate accounts
- Add FullSyncBefore verification
- Tests pass ✓
This ensures the migrated SQLite database matches the v3 server
schema exactly, preventing any compatibility issues.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments