完善migrate