[GMG-Devel] MediaGoblin switches from Mongo->SQL
Christopher Allan Webber
cwebber at dustycloud.org
Sun Apr 1 21:52:10 EDT 2012
As we said we would a few months ago, we've completed the merge from
MongoDB->SQL. Just earlier today, the big red button was pushed:
So we did it! It's actually done, moving forwards into the past, from
nosql to SQL. So that's, er, progress! :)
Already running a site? It's not too hard to switch things over.
By default MediaGoblin will now use sqlite. To switch it to something
else (like postgres), in your mediagoblin_local.ini set to an
appropriate sqlalchemy URI, like:
sql_engine = 'postgresql://localhost/mediagoblin'
To actually convert your database, run:
If setting up a new application, ignore all the mongo bits in the docs
(we'll update those shortly) and do:
Currently only sqlite and postgres are supported, though we may support
That's all folks! Thanks to everyone who made this possible, especially
Elrond, who did the bulk of it!
More information about the devel