Hello,

I have created a topic on stackoverflow but didn't get attention. So...

I am little confused about my db design. I have orders table that may have 
records from one of many others. So is it OK to relate each tables with 1:1 
to orders. Please look at orders domains andhostings table relations.

My orders table rows has either a domain or hosting regarding to its 
orders_type value. There will be more than 10 products like domains, 
hostings etc. So creating a column on orders table for each product would 
not be a good practice.

What is the best way to build my structure for CakePhp?


<https://lh3.googleusercontent.com/-AbWgKx7GQz0/Ukln-HZdS7I/AAAAAAAAERI/_yO9gr7hiow/s1600/eer.JPG>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to