mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-21 04:39:23 +00:00
3babf8464b
* Add voters count to polls * Add ActivityPub serialization and parsing of voters count * Add support for voters count in WebUI * Move incrementation of voters count out of redis lock * Reword “voters” to “people”
6 lines
128 B
Ruby
6 lines
128 B
Ruby
class AddVotersCountToPolls < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_column :polls, :voters_count, :bigint
|
|
end
|
|
end
|