code: func checkColumnsAttributes(colDefs []*ast.ColumnDef) error {
  	for _, colDef := range colDefs {
  		if err := checkColumnAttributes(colDef.Name.OrigColName(), colDef.Tp); err != nil {
  			return errors.Trace(err)
  		}
  	}
  	return nil
  }
docs: // checkColumnsAttributes checks attributes for multiple columns.