changed database for postgresql