Fixes #5421 - Ensures Report.object_id is nullable
authorJessica Tallon <tsyesika@tsyesika.se>
Mon, 29 Feb 2016 19:18:42 +0000 (19:18 +0000)
committerJessica Tallon <tsyesika@tsyesika.se>
Mon, 29 Feb 2016 19:18:42 +0000 (19:18 +0000)
commit7555d1084fbdba409085ecd9eda817bec653a63d
tree35e48d9339752240b2462df645c3f927b3d2bc30
parentab14059538e7d6961ed279219fdc6b68d45a7741
Fixes #5421 - Ensures Report.object_id is nullable

It seems there was a commit for a while where the migration was
making Report.object_id NOT NULL and this caused an errror when
a report deleted the associated object (media). This migrtion
checks it's nullable and if not, alters it so it is.
mediagoblin/db/migrations/versions/228916769bd2_ensure_report_object_id_is_nullable.py [new file with mode: 0644]