SQL: Improve video media_data table
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 1 Mar 2012 20:34:21 +0000 (21:34 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 1 Mar 2012 20:58:49 +0000 (21:58 +0100)
commit94df840b3bf100a3fdd33e2fef2d4201d4a4ac45
treec24989a2948353d4c7b8565c5c79d100d69c684a
parent2bc8ff0d63188f2168553d39ebf8756ae83053e1
SQL: Improve video media_data table

1. Make the foreignkey the primary_key.
2. Add width/height, as those are currently in use for the
   media_data
mediagoblin/db/sql/convert.py
mediagoblin/media_types/video/models.py