I'm OK with not having the foreign key constraint.

@roidrage mentioned that the migrations for Logs don't belong here. I'll need to look into this deeper.