mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-14 02:44:13 +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
|