One saved snapshot, not a database per entity
Zustand’s persist saves the whole store as one versioned record in IndexedDB. Separate object stores per entity would look more like a real database, but they’d mean replacing persist with a sync layer written by hand. At personal-finance sizes a snapshot is fast, and the existing schema versions and migrations keep working.
Moving storage never risks data. The app copies older localStorage data into IndexedDB and deletes the old copy only after the write succeeds. If IndexedDB can’t open, as in some private-browsing modes, or a write fails, the app keeps working in memory and says so.


