如何从Heroku中删除使用dev免费计划创建的postgres数据库。
https://postgres.heroku.com/databases
我尝试使用heroku addons:remove --confirm --app salty-river-24,但它显示应用程序未找到。这是正确的语法吗?
首先,通过运行以下命令来检查您拥有的所有插件:
$ heroku addons
$ heroku addons:destroy postgresql-asymmetrical-03894
列出的附加组件中方括号中是 postgresql-cubic-88094
。
系统会要求您输入应用程序名称或重新运行命令使用 --confirm <name-of-your-app>
。 输入应用程序名称并删除该插件。
通过运行以下命令确认已删除插件:
$ heroku addons
看起来你缺少插件的名称。例如:
$ heroku addons:remove heroku-postgresql:dev --app salty-river-24
heroku addons --help
命令查看帮助信息,或者使用heroku addons
命令列出你的应用程序所安装的所有插件。