Add relationships database