我们今晚部署了一些代码,但不得不回滚。回滚影响了数据库,因此我们将数据库恢复到部署之前捕获的数据库。现在我们得到了所有类型的数据库错误,例如:
ActiveRecord::UnknownPrimaryKey: Unknown primary key for table billing_accounts in model BillingAccount.
PG::SyntaxError: ERROR: zero-length delimited identifier at or near """" LINE 1: ... "billing_accounts" ORDER BY "billing_accounts"."" ASC LIM.
PG::InternalError: ERROR: cache lookup failed for type 19005
PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block
我不知道该怎么办这些错误,我们得到了大量的错误。帮助!