[#4184] Automatically rename the Budget's Deliverables table.

This commit is contained in:
Eric Davis
2010-07-14 13:20:14 -07:00
parent f6854ccb0a
commit d934f39021
2 changed files with 5 additions and 0 deletions
@@ -17,6 +17,10 @@ module RedmineContracts
end
def self.rename_old_tables
ActiveRecord::Migration.rename_table(:deliverables, :budget_plugin_deliverables)
end
def self.export_data
end
+1
View File
@@ -3,6 +3,7 @@ namespace :redmine_contracts do
task :budget_migration => :environment do
RedmineContracts::BudgetPluginMigration.check_for_installed_budget_plugin
RedmineContracts::BudgetPluginMigration.rename_old_tables
RedmineContracts::BudgetPluginMigration.export_data
RedmineContracts::BudgetPluginMigration.migrate_contracts
# RedmineContracts::BudgetPluginMigration.migrate
end