Skip to content
  • Nikita Vasilevsky's avatar
    a94d02fb
    Allow association `foreign_key` to be an Array · a94d02fb
    Nikita Vasilevsky authored
    Currently the only way to setup a composite foreign key is to use `query_constraints`.
    With our intention to decouple `query_constraints` from `foreign_key` we need to allow
    `foreign_key` to be an Array to preserve the current behavior achieved with `query_constraints`.
    a94d02fb
    Allow association `foreign_key` to be an Array
    Nikita Vasilevsky authored
    Currently the only way to setup a composite foreign key is to use `query_constraints`.
    With our intention to decouple `query_constraints` from `foreign_key` we need to allow
    `foreign_key` to be an Array to preserve the current behavior achieved with `query_constraints`.
Loading