Added 'add_reference :users, :post, index: true' to AddUserIdToPosts migration