Trying to fix postgres db