7 lines
253 B
Ruby
7 lines
253 B
Ruby
class AddCachedVotesToLegislationProposals < ActiveRecord::Migration
|
|
def change
|
|
add_column :legislation_proposals, :cached_votes_total, :integer, default: 0
|
|
add_column :legislation_proposals, :cached_votes_down, :integer, default: 0
|
|
end
|
|
end
|