super-productivity/packages/shared-schema/tests
Johannes Millan be4b8ba241 fix(migrations): ensure unique IDs and prevent data loss in split operations
When splitting one operation into misc and tasks operations:
- Both operations now get unique ID suffixes (_misc and _tasks)
- Skip logic verifies both conditions before skipping:
  1. tasks config has migrated field (isConfirmBeforeDelete)
  2. misc config has NO migrated fields remaining

This prevents:
- Potential operation ID conflicts in the sync log
- Data loss in partial migration scenarios

Adds test cases for partial migration and correct skip scenarios.
2026-01-20 17:07:23 +01:00
..
migrations fix(migrations): ensure unique IDs and prevent data loss in split operations 2026-01-20 17:07:23 +01:00
migrate.spec.ts refactor: update validateMigrationRegistry test comments for clarity 2026-01-18 21:14:22 +07:00