Switch to using postgres db.