【发布时间】:2014-04-19 20:05:51
【问题描述】:
我正在尝试获取 Heroku 上的数据库并从那里获取数据以保存到我的本地数据库中。
当我尝试时
heroku db:pull
并确认应用名称,我得到:
! db:push and db:pull have been removed and replaced with pg:push and pg:pull.
! For more information, please see:
! devcenter.heroku.com/articles/heroku-postgresql#pg-push-and-pg-pull
好的,所以:
pg:pull
返回:
-bash: pg:pull: command not found
heroku pg:pull
返回
! `pg:pull` is not a heroku command.
! Perhaps you meant `db:pull` or `pg:psql`.
! See `heroku help` for a list of available commands.
那么,如何正确拉取数据呢?
【问题讨论】:
-
你找到解决办法了吗?
标签: ruby-on-rails ruby postgresql heroku