首页 > 解决方案 > Postgres StandardError rails“关系[表]不存在

问题描述

在我正在处理的这个特定 Rails 项目上,pg 发生了一些奇怪的事情,我在运行一些迁移后打开了服务器,并且突然 pg 停止工作。

StandardError (An error has occurred, this and all later migrations canceled:
An error has occurred, this and all later migrations canceled: PG::UndefinedTable: ERROR: relation "links" does not exist

需要牢记的真正重要的一点是,在发生此错误之前,我一直在使用链接表。

任何提示将不胜感激,我可以提供您可能需要的任何其他信息

标签: ruby-on-railsdatabasepostgresql

解决方案


推荐阅读