简体   繁体   中英

ActiveRecord::StatementInvalid in Rails 4.2.7.1

On my local system, I am facing an error of 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. Please check the attached screenshot. error_img

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM