Hi Rashid,
I cannot see how those tables are supposed to achieve the set goal. Firstly you should name things properly. You should have attributes, each having several possible attribute values. It is unclear whether you want a product to have many attributes and then in the order (or something) to have attribute values specified for them; or a product to have a direct relation with attribute values. Rethink your database schema. This looks like you are moving towards an EAV database, which is quite difficult to work with.
Fitzberg
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community