diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-11-24 19:19:18 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-11-24 19:23:08 +0100 |
commit | 316e1dfddeb7955c3bb8a5183c53024c68184a22 (patch) | |
tree | abf456c660549fdf1731fb069a4fb7da77ddc401 /mediagoblin/db/sql/util.py | |
parent | 4211d0301486d3d2439049be0a15abfbe26280dd (diff) | |
download | mediagoblin-316e1dfddeb7955c3bb8a5183c53024c68184a22.tar.lz mediagoblin-316e1dfddeb7955c3bb8a5183c53024c68184a22.tar.xz mediagoblin-316e1dfddeb7955c3bb8a5183c53024c68184a22.zip |
SQL Migrations: Rewrite table creation completely.
We have migrations creating new tables. Those currently use
"raw" table definitions. This easily gives errors (we
already had this problem).
So instead rewrite those to use declarative tables and use
those to create new tables. Just copy the new table over to
the migration, strip it down to the bare minimum, rename to
_v0, base it on declarative_base() and be done!
Do this for the current migrations.
Diffstat (limited to 'mediagoblin/db/sql/util.py')
0 files changed, 0 insertions, 0 deletions