Simple Mongo -> SQL migration tool
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 17 Dec 2011 20:37:02 +0000 (21:37 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 17 Dec 2011 20:37:02 +0000 (21:37 +0100)
commitdbcf5289dcc7bcd03a1a92a204fd7c4c8348d318
treefbaa9a51db28048d428b26d2af6a8fa5f4966a67
parent7c2c56a5ff0cb229cd3a64451368bf1e72646bc5
Simple Mongo -> SQL migration tool

This is just a start at a Migration tool from Mongo to SQL.
It fills all currently available SQL models with data from
MongoDB. A few fields in the SQL tables are left out,
because some data format migrations are needed (notably:
queue_file_name).

This thing lives in mediagoblin/db/sql/convert.py because
it has a lot of stuff hardcoded and is not, repeat not for
end users!

Hard coded:
- output database: ./mediagoblin.db (sqlite)
- Mediagoblin config: ./mediagoblin.ini
mediagoblin/db/sql/convert.py [new file with mode: 0644]