Database Reference
In-Depth Information
At the bottom of the website, choose the application and click on the Add Hobby Dev for
Free button so that you can add the Heroku Postgres add-on in your application.
Add Heroku Postgres add-on
Via the Heroku client
Adding the Heroku Postgres add-on via the Heroku client is simple and fast.
Tip
You can use the --app flag to always specify which application you are working with.
This flag is optional; if you are inside the application directory in your computer, you
don't need to use it.
Open a terminal in your computer and type the following command:
$ heroku addons:add heroku-postgresql:hobby-dev --app
your-app-name
Adding heroku-postgresql:hobby-dev on your-app-name...
done, v4 (free)
Attached as HEROKU_POSTGRESQL_GOLD_URL
Database has been created and is available
! This database is empty. If upgrading, you can transfer
! data from another database with pgbackups:restore.
Use `heroku addons:docs heroku-postgresql` to view
documentation.
Search WWH ::




Custom Search