aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/sql/util.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-11-24 19:19:18 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-11-24 19:23:08 +0100
commit316e1dfddeb7955c3bb8a5183c53024c68184a22 (patch)
treeabf456c660549fdf1731fb069a4fb7da77ddc401 /mediagoblin/db/sql/util.py
parent4211d0301486d3d2439049be0a15abfbe26280dd (diff)
downloadmediagoblin-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