[英]ActiveRecord::StatementInvalid in Rails 4.2.7.1
On my local system, I am facing an error of Statement Invalid.在我的本地系统上,我面临 Statement Invalid 错误。 Previously, I was not getting this, but I think when I reindexed my elastic search after adding the taxon_ids index, this error started to come.以前,我没有得到这个,但我想当我在添加 taxon_ids 索引后重新索引我的弹性搜索时,这个错误开始出现。 Please check the attached screenshot.请检查随附的屏幕截图。
And version details are -版本详细信息是 -
Mysql - 5.7.34-0ubuntu0.18.04.1
Rails - 4.2.7.1
Ruby - 2.3.1
Please advise on how it can be resolved.请告知如何解决。
The Error says that your Database is missing some columns.错误表示您的数据库缺少某些列。 Can you run rake db:migrate
你能运行rake db:migrate
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.