diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-02-24 21:16:02 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-03-08 21:11:18 +0100 |
commit | a9dac7c83df860ed66ef187411394d25afd77598 (patch) | |
tree | aa14b34a0d50f8223afe1699d7e06609f9cfa131 /mediagoblin/processing/task.py | |
parent | 703d09b9854087bbe620cb8f514e04d2447888ae (diff) | |
download | mediagoblin-a9dac7c83df860ed66ef187411394d25afd77598.tar.lz mediagoblin-a9dac7c83df860ed66ef187411394d25afd77598.tar.xz mediagoblin-a9dac7c83df860ed66ef187411394d25afd77598.zip |
Normalize MediaFile.name (make it a foreignkey)
The name part of a MediaFile is only using a very limited
number of items. Currently things like "original" or
"thumb".
So instead of storing the string on each entry, just store
a short integer referencing the FileKeynames table and have
the appropiate string there.
Diffstat (limited to 'mediagoblin/processing/task.py')
0 files changed, 0 insertions, 0 deletions