v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD |
[eluser]WCDi[/eluser]
[quote author="fabgonber" date="1308593942"]WCDi, You need study relational models ![]() what do you need to do: a) ¿One Ean has Many Products? b) ¿One Product Has Many Eans? c) ¿Many Eans has Many Products? Look: http://dl.dropbox.com/u/2891468/dibujo_m...cional.png[/quote] Option b. I've 'studied' relational models, but to be honest, it has been a while.. A product can have multiple EAN's, and an EAN is unique to a product, so that's option b. I would say that my model is right, or am I missing something? Thanks for your input and help! |
Welcome Guest, Not a member yet? Register Sign In |