add migrate command to deploy
bug fix