mirror of
https://github.com/mastodon/mastodon
synced 2024-11-24 23:26:22 +09: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
|