Guys i currently have 2 tables that reference a lookup table. Ive been tasked with modifiying the database to allow the tables to reference more than one value in the lookup table.
My idea is to create a new table that has a new PK and a column that references the lookup table. The PK of the new table is then dumped into the parent tables thus maintaining referential integrity E.G
Current
Contracts
=========
PK Id
FK lookupId
Warranties
==========
PK Id
FK lookupId
New
Contracts
=========
PK Id
FK LinkingTableId
Warranties
==========
PK Id
FK LinkingTableId
LinkingTable
============
PK Id
FK LookupId
Is this a good way of handling the multiple references?