Skip to content
  • Ryuta Kamizono's avatar
    652258e4
    Fix newly added reflection order when redefining association · 652258e4
    Ryuta Kamizono authored
    Currently reflections keeps the order when first added even if when
    redefining association. As a result of the order, redefining through
    association which use newly added association will raise
    `HasManyThroughOrderError`. We need to redefine reflection order as well
    when redefining association.
    
    Fixes #31068.
    652258e4
    Fix newly added reflection order when redefining association
    Ryuta Kamizono authored
    Currently reflections keeps the order when first added even if when
    redefining association. As a result of the order, redefining through
    association which use newly added association will raise
    `HasManyThroughOrderError`. We need to redefine reflection order as well
    when redefining association.
    
    Fixes #31068.
Loading