Switches DB to postgres