[#4184] Added check to make sure the budget plugin is not installed.

This commit is contained in:
Eric Davis
2010-07-14 10:58:08 -07:00
parent 7d9f45d2ed
commit ad4b3e542b
2 changed files with 25 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
namespace :redmine_contracts do
desc "Migrate data from the budget_plugin to redmine_contracts"
task :budget_migration => :environment do
RedmineContracts::BudgetPluginMigration.check_for_installed_budget_plugin
RedmineContracts::BudgetPluginMigration.rename_old_tables
RedmineContracts::BudgetPluginMigration.migrate_contracts
# RedmineContracts::BudgetPluginMigration.migrate
end
end