check for DATABASE_URL before running db:migrate step