Check app has database before migrate
Remove  on deploy to heroku
Add app name on check for deploy into production