migrate friendship table