sql script for heroku