I have a table with links from its two columns to two other PK tables. Is there a way I can limit both of these columns from having values?
I want one of them to matter and the other to NULL
Favorites:
id table_1_id table_2_id 
Table_1:
 id 
Table_2:
 id 
source share