Added percent fields and changed the setters on Deliverables to save the values. #1135

This commit is contained in:
Eric Davis committed 2008-05-21 10:17:26 -07:00
1 parent 1330740fa3
commit a9c8897ed4
3 files changed
+145 -7

No files matched your search

@@ -0,0 +1,13 @@
class AddPercentageFieldsToDeliverables < ActiveRecord::Migration
def self.up
add_column :deliverables, :overhead_percent, :integer
add_column :deliverables, :materials_percent, :integer
add_column :deliverables, :profit_percent, :integer
end
def self.down
remove_column :deliverables, :overhead_percent
remove_column :deliverables, :materials_percent
remove_column :deliverables, :profit_percent
end
end