ruby-on-rails - 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
需要牢记的真正重要的一点是,在发生此错误之前,我一直在使用链接表。
任何提示将不胜感激,我可以提供您可能需要的任何其他信息
解决方案
推荐阅读
- python - Heroku - 无法连接到本地 MySQL 服务器
- paypal - 在哪里将 BUTTONSOURCE 属性添加到 javascript 以进行 Paypal Express Checkout
- visual-studio - Visual Studio 按数字转到选项卡
- c# - 从 Visual Studio 部署 CLR
- javascript - 创建 JS 像素操作效果
- amazon-web-services - AWS SQS 队列消息计数
- multithreading - 信号量会阻塞调用线程还是线程本身会阻塞?
- linux - Jenkins 中不存在 Maven 子模块
- jmeter - Jmeter-使用响应断言的条件
- r - 网络图 R - 加入