code: func (s *Schema) IsUniqueKey(col *Column) bool {
  	for _, key := range s.Keys {
  		if len(key) == 1 && key[0].Equal(nil, col) {
  			return true
  		}
  	}
  	return false
  }
docs: // IsUniqueKey checks if this column is a unique key.