I am creating a website where the user has the possibility to upload content (pictures, videos pdf's etc.).
Each type of content has a different number of properties with corresponding values.
I have thought about making this design:
Is this the right way to do it?
Since each type of property has a predetermined set of property-names, should I make a relation between the two? Or would it be fine to handle this in code instead?