Hi folks
i'm trying to create a Users table that only has OpenId registrations, exactly like StackOverflow.
I'm storing in the table
- OpenId Identifier (their login name)
- Alias (which is the display name to show to the public)
- Some other openId stuff
So .. I want make sure that there is only ONE user in the system that has the open id idenfitier and only one alias.
Of course, i can change my alias at any time. I could also change my openId identifier at any time.
I need to make sure that these are unique / only exist once.
SO .. do i create TWO unique key index's for the table, or one unique key index with both fields in it?
cheers :)