[#4184] Starting on the budget data migration.

This commit is contained in:
Eric Davis
2010-07-13 14:35:23 -07:00
parent d8196842ff
commit 30172b4be1
3 changed files with 97 additions and 0 deletions
@@ -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