name practice 8 7 patterns extending tables
hic Associations Definition: Creating flexible relationships where a foreign key can reference multiple table types. Use cases: When a single entity can relate to varied types of other entities. Example: Comments that can belong to either posts, photo