migrates Post model