It seems appropriate, but it may not be. You are the person who knows the real problem the most and has doubts, imagine we who have no idea where it will be used, how, what the needs of today and tomorrow.
What I mean is that so much can go wrong or change, so random people on the Internet are less able to tell if everything will work out than you are. You have to do the best you can and be prepared for possible changes, do nothing that makes it difficult to change later. That’s very rare to see, therein lies the real problem.
I actually have a lot of doubts if you need all this. It seems to me that in fact some of these tables have relation 1:1 and in this case I do not see much advantage to be in separate table. For me the tables linked to the SKU should be simple columns in the table itself, even after the comment below I see no reason for these tables to exist. I would probably simplify by deleting 5 tables. But who am I to tell you what to do, there may still be something I don’t know, so it’s hard to answer.
I have even doubts whether there should be a separation between product and SKU. I even see some usefulness, but it may not be necessary. Many systems have what would be only the SKU, after all if each SKU is different, is another product and what calls product maybe is a group.
I find it strange produto_tamanho
have relationship with the product and with SKU, this seems an error.
I won’t even mention the confused names, that’s taste. Not everything should be VARCHAR(45)
, this is a problem that goes beyond modeling, that is, this is a problem so big that doing so any modeling will "serve". This kind of thing will hinder future changes. But I imagine that what will make it more difficult to even see in this model.
If the question had posed as text and not as image I would have reformulated the template and posted here as I would.
What does SKU mean? And what exactly is your doubt?
– gmsantos
This article explains what is SKU: http://sitesmais.com/2011/12/o-que-e-o-sku-de-um-product/
– MarcosJunior
If I have a size P and G boot, and in Color Pink and Black, I would have to be able to search for a Black Boot of size P, or a G of color Pink, using for this the SKU, with this model I created this would be possible?
– MarcosJunior