Moves tenant migrate event before flow building