add check all migration script method to deploy-env and patch-env process