mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 06:28:59 +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
|