Fix removal of ActivityIntermediatory migration
commitddc2db746f3291dbe11393a814eed9a0fd651365
authorJessica Tallon <tsyesika@tsyesika.se>
Wed, 24 Jun 2015 19:22:03 +0000 (24 21:22 +0200)
committerJessica Tallon <tsyesika@tsyesika.se>
Wed, 24 Jun 2015 19:43:16 +0000 (24 21:43 +0200)
tree69c068c19c82875a16fbcd8dbe00c50b74c17873
parent2d73983e8ca353f47ad25642e1e0c292d94b20d5
Fix removal of ActivityIntermediatory migration

The migration had a problem where other tables still referenced the migration
as well as a typo in an earlier migration. They have both been fixed and tested
on PostgreSQL and SQLite3.

This also fixes a bug where sometimes when creating an activity it'd raise an
Exception as the object hadn't got an ID. This has been fixed globally with a
fix to the create_activity federation tool.
mediagoblin/db/migrations.py
mediagoblin/tools/federation.py