Revert "BS-6876 : [6.2.1] Problem recording connector dependencies: Unique constraint violated"

This reverts commit 3e1c0b4e48e4fdc8ccc14574b224822ba5ded81c.