chage database to postgreql