Personally I don't think that the degree is very important. The most important thing is that both sides share the same vision of life, i.e. both sides want to similar goals of life and want similar life style. If the vision is shared, and both sides also feel comfortable to be together and still be himself/herself while being together, then the relationship should work out. Good luck.