Migration fixes

I wasn't able to get postajob migration 0004/0005 to run properly for me, so I went through and fixed all the migrations. I would be curious to see if anyone else has success with migration 0004 on MySQL.

All tests pass.