Fix DB config if heroku config not present