Travis builds failing posts.cached_version does not exist

I’m getting the same issue while running migrations with our discourse-ratings plugin alone with a vanilla dev setup. I don’t see any code which specifically asks for cached_version column.

commit hash: 093ee1d80c269afd00ba1341a3e71eb97e4ce7f1

I ran RAILS_ENV=test rake db:drop db:create db:migrate so there should be no data in the db.

This is the line