[#4182] Added an OverheadBudget to track a Deliverable's overhead.

This commit is contained in:
Eric Davis
2010-07-07 10:38:58 -07:00
parent fdd49642b2
commit b22db284c5
9 changed files with 105 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
class CreateOverheadBudgets < ActiveRecord::Migration
def self.up
create_table :overhead_budgets do |t|
t.decimal :hours, :precision => 15, :scale => 4
t.decimal :budget, :precision => 15, :scale => 4
t.references :deliverable
t.timestamps
end
add_index :overhead_budgets, :deliverable_id
end
def self.down
drop_table :overhead_budgets
end
end