gtt-project / redmine_supply

Redmine plugin to enable supply management for issues.
GNU General Public License v3.0
1 stars 1 forks source link

Fixed ActiveRecord::IrreversibleMigration issue when uninstalling plugin #7

Closed sanak closed 2 years ago

sanak commented 2 years ago

Fixes #6.

Changes proposed in this pull request:

I referred the following Japanese article to solve the issue.

Here is the way to confirm the fix.

bundle exec rake db:drop
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake redmine:plugins:migrate
bundle exec rake redmine:plugins:test RAILS_ENV=test NAME=redmine_supply
bundle exec rake redmine:plugins:migrate VERSION=0 NAME=redmine_supply

@gtt-project/maintainer

sanak commented 2 years ago

@dkastl Well, this changes will not affect existing part, so I will merge this by myself.