Updated

Next time, put the pup in the pre-nup.

A pair of divorcing women are about to fight it out in court over a miniature dachshund named Joey in what will be New York’s first matrimonial pet-custody case.

“People who love their dogs almost always love them forever,” Manhattan Justice Matthew Cooper opines in his ruling granting the women oral arguments. “But with divorce rates at record highs, the same cannot always be said for those who marry.”

That’s the case with Washington Heights residents Shannon Louise Travis, 32, and her soon-to-be ex-wife Trisha Bridget Murray.

The only bone of contention in their divorce is who will get sole custody of their 2-year-old pet.

Travis bought Joey as a 10-week-old puppy from a pet store and gave him to her then-girlfriend as a gift and “a consolation for her having to give away her cat at Travis’ insistence,” according to court papers.

Murray is fighting to keep her best friend, who always slept on her side of the bed.

“I consider this puppy, my little angel Joey, the love of my life,” Murray told The Post.

“He is my little soul mate, and there was no way in this lifetime I could ever live without him.”

Click for the story from the New York Post