Skip to content

impossible to uninstall, the database won't downgrade #53

@hobbes

Description

@hobbes

Hi,

while trying to uninstall the plugin as per the docs, I get an error that seems to indicate that the database can't downgrade:

rake --trace redmine:plugins:migrate NAME=recurring_tasks VERSION=0 RAILS_ENV=production
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:plugins:migrate
Migrating recurring_tasks (Recurring Tasks (Issues))...
== SetDefaultModifierForExistingMonthlyIssues: reverting =====================
rake aborted!
An error has occurred, this and all later migrations canceled:

ActiveRecord::IrreversibleMigration/usr/local/share/redmine-2.5.0/plugins/recurring_tasks/db/migrate/004_set_default_modifier_for_existing_monthly_issues.rb:21:in `down'
......

I don't understand all of it, but reading the file seems to indicate that the database modifications cannot be reverted. If this plugin is really impossible to remove, it should at the very least say so in the docs, and better print a big fat warning before it attempts to modifiy the database... Is there another way to get back ?

Thanks for your work,

Rémi

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions