Added postgresql promises