Config db to postgres