* added migration for 'on delete set null' fields