Topic Voting Plugin - UndefinedTable Exception

Hello,

I tried to install the topic voting plugin, but got the following exception upon loading a page:

ActiveRecord::StatementInvalid in ListController#latest
PG::UndefinedTable: ERROR: relation "topic_voting_votes" does not exist LINE 10: WHERE a.attrelid = '"topic_voting_votes"'::regclass ^

Is there some process that must be done to create the tables? (All I did was clone the plugin into a subfolder of the plugins directory, no other setup steps were taken other than a restart)

Update - Resolved: I wasn’t aware of this, but when installing plugins on a development site, you need to manually run:

bin/rails db:migrate
1 Like