we try to fix adding foreign key after data changes