adds denormalization to budget::ballot::lines

This commit is contained in:
Juanjo Bazán
2016-06-11 14:57:07 +02:00
parent e849357e57
commit ab008ed4e9
5 changed files with 62 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
class DesnormalizeBallotLine < ActiveRecord::Migration
def change
add_column :budget_ballot_lines, :budget_id, :integer, index: true
add_column :budget_ballot_lines, :group_id, :integer, index: true
add_column :budget_ballot_lines, :heading_id, :integer, index: true
end
end