Set allow null for foreign key