code: func (tt TemplateType) String() string {
  	var s string
  	switch tt {
  	case XOTemplate:
  		s = "xo_db"
  	case EnumTemplate:
  		s = "enum"
  	case ProcTemplate:
  		s = "proc"
  	case TypeTemplate:
  		s = "type"
  	case ForeignKeyTemplate:
  		s = "foreignkey"
  	case IndexTemplate:
  		s = "index"
  	case QueryTypeTemplate:
  		s = "querytype"
  	case QueryTemplate:
  		s = "query"
  	default:
  		panic("unknown TemplateType")
  	}
  	return s
  }
docs: // String returns the name for the associated template type.