Heroku CLI v3.0.0 released replacing db:push/pull with pg:push/pull
Change effective on 30 September 2013
A new version of the Heroku CLI is available that removes the db:push
and db:pull
commands, replacing them with pg:push
and pg:pull
. These new commands are faster and significantly more robust but no longer support non-Postgres databases. For help installing Postgres locally see local Postgres setup in Dev Center.
Detailed information on these new commands can be found in the pg:push and pg:pull section of the Heroku Postgres documentation.
Update your Toolbelt and push and pull your Postgres databases.
$ heroku update
Updating from 2.40.0... done
$ heroku pg:pull will::DATABASE_URL my_local_copy
pg_dump: reading schemas
pg_dump: reading user-defined tables
pg_dump: reading extensions
...
$ heroku pg:push my_local_copy will::RED
pg_dump: reading schemas
pg_dump: reading user-defined tables
pg_dump: reading extensions
...