check for env vars in database.rb