code: func (s *Restore) Intention(ixn *structs.Intention) error {
  	// Insert the intention
  	if err := s.tx.Insert(intentionsTableName, ixn); err != nil {
  		return fmt.Errorf("failed restoring intention: %s", err)
  	}
  	if err := indexUpdateMaxTxn(s.tx, ixn.ModifyIndex, intentionsTableName); err != nil {
  		return fmt.Errorf("failed updating index: %s", err)
  	}
  
  	return nil
  }
docs: // Intention is used when restoring from a snapshot.