Fix incorrect foreign key declaration