switched db to postgres