Now lots of states have to change their marriage license forms so that the terms "husband" and "wife" aren't quite so restrictive. It will be the same thing for the computer systems. A few years ago Things Of Interest addressed this: Gay marriage: the database engineering perspective. It walks through changing database schemas to support gay marriage and beyond.
(I'm still catching up from last week and have 5 SCOTUS decisions on my iPad to read.)