Several DB migrations to fix bugs

Ensure that user has only one id, and posts/comments/hearts all refer
to user_id not username