changes db to posgres