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 Sojan
parent a3d14c1884
commit ba5539d9bf

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)