Remove links part 1: database