heroku adaptation pg