remove foreign key from curr_ptr table to prevent blocking