search for: items_id

Displaying 1 result from an estimated 1 matches for "items_id".

Did you mean: item_id
2006 Apr 10
4
Many To Many''s Join table attributes + migrations
...the above problem. Say I have the following conceptual relationships: ITEMS <<--->> CARTS i.e., each item can belong to one or more categories. So really we have ITEMS <<--> ITEMS_CARTS <-->> CARTS where the join table, items_carts, has the dual primary keys {items_id, carts_id}. However, in reality people can and will buy more than one of each item and so items_carts needs an additional attribute: quantity. My question is how might the above be defined as a migration? In WebObjects when modelling the above entities (akin to migrations) you simply set th...