adds cached_anonymous_votes_total to Debate

This commit is contained in:
Juanjo Bazán
2015-08-30 23:27:22 +02:00
parent 26fa5d5d5e
commit de71f55103

View File

@@ -0,0 +1,5 @@
class AddCachedAnonymousVotesTotalToDebate < ActiveRecord::Migration
def change
add_column :debates, :cached_anonymous_votes_total, :integer, default: 0
end
end