Op I am the sad side of the story.
I bought my house. Paid all deposit and renovation costs etc after years of working in in a well paid job. Met DH, he under duress contributed towards bills etc while living in my house full time. I remortgaged and paid for our wedding and put him on the mortgage/deeds.
He told me from the start it was my house. If we ever split up he would take nothing from the home and me and my DS (from a previous relationship) as it was our future and I had given up a very good job by then to raise his child too etc etc. I just wanted to be fair to him as he did contribute towards costs.
Fast forward to now. He hasn't been living here for 3 years, Relationship turned very nasty with emotional & financial abuse and much deceit - on his part. He has dragged his heels in divorce and made it look as if we have been married for longer.
He has dragged me and the DCs through hell for years, has a new girlfriend, life paid for and provided by Mummy and has received a large inheritance (over £30k and he is spending it FAST so it will have no relevance by the time of the final Court date). We are going through the Court system where he is trying to force the sale of our home and claim 50% of the equity (this is substantial since the purchase because of improvements and property market.
I don't know where we will end up but I can tell you I will never regret more (for me and my DCs) marrying this man, putting him on the mortgage and losing my financial independence.
The law may give me a little more in the deal because I have children but it won't give me what I have put in over many years. And it will give the lying scumbag that I married a lottery win.
Please just think through your options carefully, we never know what will happen in this life and a kind heart does not provide for your children. Speak to a good solicitor and don't be swayed by emotions.