diff --git a/db/migrate/20150830212600_add_cached_anonymous_votes_total_to_debate.rb b/db/migrate/20150830212600_add_cached_anonymous_votes_total_to_debate.rb new file mode 100644 index 000000000..196d5b517 --- /dev/null +++ b/db/migrate/20150830212600_add_cached_anonymous_votes_total_to_debate.rb @@ -0,0 +1,5 @@ +class AddCachedAnonymousVotesTotalToDebate < ActiveRecord::Migration + def change + add_column :debates, :cached_anonymous_votes_total, :integer, default: 0 + end +end