Skip to content

Commit

Permalink
sequel.md: many_to_many {left,right}_{id=>key} (#2073)
Browse files Browse the repository at this point in the history
  • Loading branch information
3ynm authored Dec 13, 2023
1 parent af33da8 commit 97cc369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sequel.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ Savepoints can be used if the database supports it:

# Us (left) <=> Them (right)
many_to_many :images,
left_id: :deal_id,
right_id: :image_id,
left_key: :deal_id,
right_key: :image_id,
join_table: :image_links

one_to_many :files,
Expand Down

0 comments on commit 97cc369

Please sign in to comment.