mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-30 17:54: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
|