Sep 2, 2014
0
Level 3
Representation of polymorphic relationships with MySQL Workbench
Hi,
I would like to know how to represent the polymorphic structure (many-to-many) with MySQL Workbench.
I think it's a n:m relation.
Table clients, addresses and employees. A client and an employee can have several addresses, so if I choose n:m it's ok but I have 2 tables "employees_has_addresses" and "clients_has_addresses" but with the polymorphic I want only one table addressables with 3 fields.
Thanks.
Please or to participate in this conversation.