[#4477] Added a paid field to track when a FixedBudget is spent

This commit is contained in:
Eric Davis
2010-09-22 10:49:36 -07:00
parent f8270498f3
commit d4de581b3c
4 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
class AddPaidToFixedBudgets < ActiveRecord::Migration
def self.up
add_column :fixed_budgets, :paid, :boolean
add_index :fixed_budgets, :paid
end
def self.down
remove_column :fixed_budgets, :paid
end
end