heroku postgres code example
Example 1: how to push database to heroku
heroku run rails db:migrate
Example 2: how to find my postgres hostname heorku
heroku pg:credentials:url
Example 3: create database heroku
ur cool, a database
heroku run rails db:migrate
heroku pg:credentials:url
ur cool, a database