rake and migrate for teams