[#4184] Starting on the budget data migration.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
module RedmineContracts
|
||||
|
||||
# TODO: decide how this is activated.
|
||||
# Have the user dump yaml themselves? Or rename the tables and
|
||||
# SQL select the data out into yaml?
|
||||
# Deliverable.all.collect {|d| d.attributes}.to_yaml
|
||||
class BudgetPluginMigration
|
||||
@@data = nil
|
||||
|
||||
def self.migrate(old_data)
|
||||
@@data = old_data
|
||||
end
|
||||
|
||||
def self.data
|
||||
@@data
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user