Avoid long-held locks in migrations | BeforeMerge Rules | BeforeMerge