By the way, the time to do this would have been BEFORE you were married.

It is called a prenuptial agreement.