SQL Model: Forgot MediaEntry.state field
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 24 Dec 2011 17:12:38 +0000 (18:12 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Wed, 28 Dec 2011 21:58:32 +0000 (22:58 +0100)
commitc6263400cfd334a820122bd1b22eaa4d4d6765cd
tree0a257a47fbf8e304a568560c6f4b50cc5452ffe8
parent19ed039ba6d65cecfd6e8ad6e47b5cb008350b04
SQL Model: Forgot MediaEntry.state field

While creating the new SQL model, the "state" field of
MediaEntry was left out. Currently using a plain unicode
string for it.

Maybe should use sqlalchemy.types.Enum?
mediagoblin/db/sql/convert.py
mediagoblin/db/sql/models.py