Add missing foreign key