We also had our mini-pig potty-trained to go outside. Which she did, when we regularly took her out. Overnight, or if we were gone, she would piddle in her favorite/same corner.
Once I took into consideration that pigs prefer to be clean, I simply took away her opportunity to piddle in her "regular" spot. We baby-gated her away from the corner. It worked! Not a single accident since! :)