ande3577 / redmine_vote

Redmine Issues Vote Plugin
7 stars 7 forks source link

Could this be made to work with later version of Redmine? #26

Open urinal-cake opened 10 years ago

urinal-cake commented 10 years ago

I currently receive the following error when migrating: Mysql2::Error: Table 'redmine.votes' doesn't exist: ALTER TABLE votes ADD vote_count int(11) DEFAULT 1 NOT NULL/opt/redmine-2.5.1/clean/ruby/2.0.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `query'

It appears to me that the scripts within the db/migrate folder use old Ruby syntaxes for migration. def self.up/down instead of def.change. I attempted to remedy this, but it still didn't fix the issue.

I don't know too much about Ruby, but can this plugin be made to work with later versions of Redmine? I'm on 2.5.2, and would really appreciate it.

darioo commented 10 years ago

+1