Add database dialect setting for heroku