diff options
author | ThibG <thib@sitedethib.com> | 2019-09-29 22:58:01 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-29 22:58:01 +0200 |
commit | 3babf8464b0903b854ec16d355909444ef3ca0bc (patch) | |
tree | ec5e2bd9217ac2ef69925827ed9c3ca614c31826 /db/migrate | |
parent | cfe2d1cc4a3c531741fd769241593ebbe03b6711 (diff) |
Add voters count support (#11917)
* 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”
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190927232842_add_voters_count_to_polls.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20190927232842_add_voters_count_to_polls.rb b/db/migrate/20190927232842_add_voters_count_to_polls.rb new file mode 100644 index 000000000..846385700 --- /dev/null +++ b/db/migrate/20190927232842_add_voters_count_to_polls.rb @@ -0,0 +1,5 @@ +class AddVotersCountToPolls < ActiveRecord::Migration[5.2] + def change + add_column :polls, :voters_count, :bigint + end +end |