arazni / blades-in-the-sheets

A Blades in the Dark character sheet progressive web app in WebAssembly
https://arazni.github.io/blades-in-the-sheets/
7 stars 1 forks source link

Persistence Layer Capable of Handling Data Migrations #9

Closed arazni closed 1 year ago

arazni commented 1 year ago

At the end of everything, need to make sure that the original files that are currently working for people will continue to work for them. Any new data changes necessary for the Character object needs to be moved over to the updated version on-demand without breaking.

For example, some enums are stored as numbers. After our changes, they'll likely be stored as strings. That will have to be migrated.