I am starting out with PouchDB and looking for a solution which will allow me to change my schema in future without major pain, so I don't have to worry now if I have thought of everything. I'm seeking to plan for the case where I might need to change to a structure which I didn't predict (example: Let's say I start with the concept of a single "wish list" but later support multiple named lists instead).
The high level idea I have is to have some internally-meaningful "schema version" that is saved into every PouchDB instance. Then my client side JS could read that in, and if there is a data migration necessary, it can perform that before continuing. Are there any "best practice" ways to do this?