changed db to postgres