Change author to user_id in Posts model.