use heroku's database plumbing correctly