Also need to exclude account_migration from persons reference
Also backported from #7660
This commit is contained in:
parent
b8ea120ff2
commit
fab48ee96d
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ class AccountMigration < ApplicationRecord
|
|||
|
||||
def person_references
|
||||
references = Person.reflections.reject {|key, _|
|
||||
%w[profile owner notifications pod].include?(key)
|
||||
%w[profile owner notifications pod account_migration].include?(key)
|
||||
}
|
||||
|
||||
references.map {|key, value|
|
||||
|
|
|
|||
Loading…
Reference in a new issue