Temporarily prevent record deletion during migration