change postgres db mapping