Add foreign key NOT NULL constraints