I have the following tables
- items
- similars
- items_similars = pivot table
items->similars has a many-many relationship
the items_similars has the following field
- item_id
- similar_id
if I am using InnoDB as my engine, do I need to create a relation between items.id and items_similars.id? or between similars.id and items_similars.id? or even both?
are there advantages in doing or in not doing so?