make migrate work