id-goods.But where to store attributes.The first thing that occurred to me was here, in the intermediate table.The only problem is that through this
pivot, I can only access
product_id.How to reach other fields with type attributes
Or my approach is fundamentally wrong and attributes need a separate table(then it will complicate things, I don’t know how to organize it)?
I would be grateful for the help.