ModelSEED/ModelSEED — pull request #16 by pfrybar (2012-08-17 00:02:21+00:00)
Title: FileDB (KeyValueStore) now includes versioning.

- This allows us to update the data format without breaking user's data
- Checks for updates during the BUILD of KeyValueStore.pm
- If the version has changed, it calls the _update_data subroutine
which will update the data accordingly to the next version
- Does this recursively until the data is up to date

Would someone mind looking through the logic I use here to update the data? I think it's pretty straight forward, but want to make sure there are no glaring bugs.

The relevant methods are '_check_version' and '_update_data'.