switching to  postgresql