Why Nostr? What is Njump?
2023-08-05 12:56:36

varx/tech on Nostr: Anyone know of a library for upgrading an app's data storage in a safe way from one ...

Anyone know of a library for upgrading an app's data storage in a safe way from one version to the next?

My desktop app has various databases and flat files, and sometimes I need to change the schema or layout or file formats. But I want to do it safely—if the upgrade fails partway through, I want to be able to reset to a known-good state, and not leave the user's data in an unusable halfway-upgraded state.
Author Public Key
npub13cavz8sul0get8lllzwszm7j5mq4n3ygpn60uqn54su99csl9wyqeu3sx0