[#4477] Added FixedBudgets to the Deliverable finance form.
This commit is contained in:
14
db/migrate/016_add_year_and_month_to_fixed_budgets.rb
Normal file
14
db/migrate/016_add_year_and_month_to_fixed_budgets.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
class AddYearAndMonthToFixedBudgets < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :fixed_budgets, :year, :integer
|
||||
add_index :fixed_budgets, :year
|
||||
|
||||
add_column :fixed_budgets, :month, :integer
|
||||
add_index :fixed_budgets, :month
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :fixed_budgets, :year
|
||||
remove_column :fixed_budgets, :month
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user