code: def _compile_varchar_mysql(element, compiler, **kw):
      
      if not element.length or element.length == 'max':
          return "TEXT"
      else:
          return compiler.visit_VARCHAR(element, **kw)
docs: MySQL hack to avoid the "VARCHAR requires a length" error.