﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	parents
32	Need a way to do schema migration on the database	Christopher Allan Webber	Juan José González	"{{{
#!rst
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.

`http://namlook.github.com/mongokit/migration.html <http://namlook.github.com/mongokit/migration.html>`_
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
storing.



}}}"	defect	closed	minor			FIXED			
