switched db to postgresql