How to create an n-n relation on the same table with composite primary key in MySQL

后端 未结 0 1940
伪装坚强ぢ
伪装坚强ぢ 2021-01-26 17:34

I want to store if two events are combinables. It\'s a n to n relation, so I need to have a pivot table with these constraints :

  • PK(event_1, event_2) = PK(event_2,
相关标签:
回答
  • 消灭零回复
提交回复
热议问题