我遵循本指南來升級 postgres 的計劃:
https://devcenter.heroku.com/articles/updating-heroku-postgres-databases#updating-with-addons-upgrade
我想使用heroku addons:upgrade
.
這是輸出:
Changing postgresql-rernd-166744 on myapp-api from heroku-postgresql:hobby-dev to heroku-postgresql:standard-0... !
! An error was encountered when contacting the add-on partner to change to heroku-postgresql:standard-0:
! heroku-postgresql does not currently support changing plans.
我已經添加了一張銀行卡,并且已經在另一個應用程式中使用了另一個 heroku 計劃,所以我懷疑這就是原因。
uj5u.com熱心網友回復:
對于愛好計劃的任何升級,您必須使用pg:copy
,heroku addons:upgrade
僅適用于生產層(新舊資料庫必須在這些計劃中)
uj5u.com熱心網友回復:
pg:copy 命令支持所有支持的 Heroku Postgres 計劃和版本之間的更新。此外,它是唯一受支持的涉及愛好層資料庫的更新方法(無論您是遷移到一個還是從一個遷移)。
因此,這是您升級資料庫計劃時要遵循的指南
https://devcenter.heroku.com/articles/upgrading-heroku-postgres-databases#upgrading-with-pg-copy
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/468318.html
標籤:PostgreSQL heroku
上一篇:用滯后填充空值,但不支持忽略空值