delete mongo and add postgres