Answer the question
In order to leave comments, you need to log in
How to make a database for a store?
I can not figure it out, I reviewed the information on the network, I did not find an adequate answer. Please help me figure it out :)
There is an online store, you need to connect a database to it, in which such information should be stored (for example):
Answer the question
In order to leave comments, you need to log in
If the metadata is weakly structured, and it happens, then it's better to do this:
Create a json type field if the database supports it and dump all the metadata there. Let the app figure it out on its own.
One but! If metadata is involved in the search, then they should be taken out of this json or duplicated in a separate field.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question