Need a way to do schema migration on the database
Over time our database format will change, and it'll be important
to be able to update peoples' existing databases. We need both a
way to specify migrations and to be able to run them.
contains some info on this.
As far as where the revision info is stored, maybe that could be
kept in something like
settings_document = db['app_settings']['mediagoblin']
settings_document['db_revision'] = 'some_identifier'
but I'm not sure. I've been thinking that maybe we'll need to store
some user settings in the database eventually once we get some sort
of admin interface around. Maybe this is the first thing to start