Chore: dup module name RoundRobin (#1036)

Fix the duplicate module name in migration
This commit is contained in:
Tianlu 2020-07-14 22:46:03 +08:00 committed by GitHub
parent aac3c27483
commit a260495f3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
class RoundRobin < ActiveRecord::Migration[5.0] class CreateRoundRobin < ActiveRecord::Migration[5.0]
def change def change
InboxMember.find_each do |im| InboxMember.find_each do |im|
round_robin_key = format(::Redis::Alfred::ROUND_ROBIN_AGENTS, inbox_id: im.inbox_id) round_robin_key = format(::Redis::Alfred::ROUND_ROBIN_AGENTS, inbox_id: im.inbox_id)