Learned references and belongs to both insert a foreign key column