我是一个有帮助的助手,可以为您翻译文本。
我正在尝试从Heroku获取数据库,并将其中的数据保存到我的本地数据库。
当我尝试时:
当我确认应用程序的名称时,我得到了:
因此,如何正确地提取数据?
我正在尝试从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.
因此,如何正确地提取数据?