sql-out for heroku