[#4184] Automatically rename the Budget's Deliverables table.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user