Database Reference
In-Depth Information
If you have more than one database in your application and want to connect to it, it is ne-
cessary to inform the connection variable. By default, the pg:psql command will al-
ways connect the main database and set in the DATABASE_URL variable.
$ heroku pg:psql HEROKU_POSTGRESQL_[COLOR]_URL --app
your-app-name
---> Connecting to HEROKU_POSTGRESQL_[COLOR]_URL
psql (9.3.4, server 9.3.3)
SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
Type "help" for help.
Search WWH ::




Custom Search