Hello community.
I have a project for a client that need to store Services he sells (web hosting, domains, web design - but not limited to these)
Currently I have a Services table and ServiceType table with relationship. I need to find an approach where I can store different data for each kind of service, without being limited.
First though was to create 3 tables, one for each service and join them with main service table. The issue on this one is that if client needs a different service, I will have to create new tables as well.
Second though was to use Meta tables and add all service data into service meta table. That will give me freedom of adding all kind of services, but I have to remember each time which meta data I used on each service. (Eg domain has name,expiry,code - web hosting has space,bandwidth,server) while I build my app. For example I may forgot to add a meta on a create form or forget to display it.
Unless there is a way to make groups of meta and use them; like wordpress custom post types, where you can add a group of meta data on each object.
Any ideas are welcomed ;)