Ok, here's my design problem...
These database holds cellular service data, here's a simplified set of tables to demonstrate the problem.
* Plan
* Device
* Add-on
... and the Relationships
* Add-ons <> Devices (not all add-ons are available for all devices)
* Plans <> Add-ons (not all add-ons are available for all plans)
So far this seems to work fine, now I need to add one more table. "Store". Now a Store contains a subset of Plans, Devices and Add-ons. So now we have these additional relationships...
* Store <> Plan
* Store <> Device
* Store <> Add-on
Now we have a problem with Circular Relationships. Store goes to Plan which goes to Add-on which goes to Store... Is there another way to model this without the circular references?
I'd appreciate any input here.
These database holds cellular service data, here's a simplified set of tables to demonstrate the problem.
* Plan
* Device
* Add-on
... and the Relationships
* Add-ons <> Devices (not all add-ons are available for all devices)
* Plans <> Add-ons (not all add-ons are available for all plans)
So far this seems to work fine, now I need to add one more table. "Store". Now a Store contains a subset of Plans, Devices and Add-ons. So now we have these additional relationships...
* Store <> Plan
* Store <> Device
* Store <> Add-on
Now we have a problem with Circular Relationships. Store goes to Plan which goes to Add-on which goes to Store... Is there another way to model this without the circular references?
I'd appreciate any input here.

