在 app.json 中指定 Heroku 插件版本
Specify Heroku addon version in app.json
使用heroku addons:create
时,可以指定一个版本,例如如 this Heroku 博客 post 介绍 Postgres 9.5 所示:
heroku addons:create heroku-postgresql --version=9.5
{
"addons": [
{
"plan": "heroku-postgresql",
"options": {
"version": "9.5"
}
}
]
}
https://devcenter.heroku.com/articles/app-json-schema#example-app-json
使用heroku addons:create
时,可以指定一个版本,例如如 this Heroku 博客 post 介绍 Postgres 9.5 所示:
heroku addons:create heroku-postgresql --version=9.5
{
"addons": [
{
"plan": "heroku-postgresql",
"options": {
"version": "9.5"
}
}
]
}
https://devcenter.heroku.com/articles/app-json-schema#example-app-json