denormalizes investments

This commit is contained in:
Juanjo Bazán
2016-09-05 11:56:53 +02:00
parent 14bb9eef84
commit ee2e0b864f
2 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
class DenormalizeInvestments < ActiveRecord::Migration
def change
add_column :budget_investments, :budget_id, :integer, index: true
add_column :budget_investments, :group_id, :integer, index: true
end
end