Actually, you don't need the link from product to product_description in this DB structure as you define a 1:N join (multiple descriptions per product) in the product_description table.
Maybe you want one product_description designated as the "current description" of the product, in which case you should put this as an attribute into product_description rather, otherwise the backlink could lead to inconsistencies (meaning: the reference in product could point to a description that doesn't point back to the product). Dominic --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---