多対多の関係の船のテーブルを設計するとき、主キーは[M ]側の中央のテーブルに来るでしょう、私の現在の中央のテーブルは
Salesline : Itemid(PK), SOId(PK), userid(PK)
また
Salesline : Itemid(PK), SOId(PK),
userid_salesorder(PK) , // links to the salesorder.userid attribute
userid_item(PK) // links to the item.userid attribute
どちらが正しい方法ですか?