darkstar62 / backup

Backup Program
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Determine how to deal with different schema versions #7

Open darkstar62 opened 12 years ago

darkstar62 commented 12 years ago

As the project progresses, ICE objects and database schemas will evolve. We need a way to ensure that old schemas are still readable in the future.

darkstar62 commented 12 years ago

For SQLite, this shouldn't be too hard -- have a schema table defining things about the version, and provide classes to upgrade from one schema to the next.

For the ICE objects, largely nothing needs to be done, except for the descriptors that get saved to disk. Facets might be useful for this, but more reading is needed to figure that out.