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
As noted in #1767 (review), the current migration test scaffolding for idxdb-store mostly verifies that Dexie's version(N).stores().upgrade() mechanism works as promised (schema upgrades, data preservation on reopen). We should add tests that cover more realistic migration scenarios.
SqliteStore: Add equivalent migration tests covering data transformations, not just schema DDL.
Migrations are not actively used yet since the Miden network resets on every upgrade and the client nukes the DB on major/minor version bumps. This becomes important once the network stabilizes and clients need to migrate user data in-place across upgrades.
As noted in #1767 (review), the current migration test scaffolding for idxdb-store mostly verifies that Dexie's
version(N).stores().upgrade()mechanism works as promised (schema upgrades, data preservation on reopen). We should add tests that cover more realistic migration scenarios.Migrations are not actively used yet since the Miden network resets on every upgrade and the client nukes the DB on major/minor version bumps. This becomes important once the network stabilizes and clients need to migrate user data in-place across upgrades.