Change structure of MediaEntry and add migration
authorJessica Tallon <tsyesika@tsyesika.se>
Wed, 19 Aug 2015 14:56:49 +0000 (16:56 +0200)
committerJessica Tallon <tsyesika@tsyesika.se>
Wed, 19 Aug 2015 15:18:37 +0000 (17:18 +0200)
commit35fbad47d7e74faa7eaa87ade534a9fb10df6d36
treee7171e192cad53465400d902dd6345c1e8e5a30c
parentc9f6afe291e76f4f0deb6467b32ba34861b850f3
Change structure of MediaEntry and add migration

This makes the changes needed for federating MediaEntry objects as well
as adding the migration and necessary methods to get the public_id just
in time (JIT).
mediagoblin/db/migrations.py
mediagoblin/db/mixin.py
mediagoblin/db/models.py