title: I can't create Enum columns with postgresql & sqlalchemy
body: <p>I have the below code created in flask and sqlalchemy to create an Enum column in the postgresql database, despite I already gave it a name I still receive the following error.</p>
  <pre><code>class ReportModel(db.Model):
      __tablename__ = 'reports'
  
      id = db.Column(db.Integer, primary_key=True)
      cause = db.Column(db.Enum('Abuse', 'Discrimination', 'Fraud', name='cause'), nullable=False)
  
  
  </code></pre>
  <p>the error:</p>
  <pre><code> File &quot;/usr/local/lib/python3.8/site-packages/sqlalchemy/dialects/postgresql/base.py&quot;, line 2340, in format_type
     raise exc.CompileError(&quot;PostgreSQL ENUM type requires a name.&quot;)
  sqlalchemy.exc.CompileError: PostgreSQL ENUM type requires a name.
  </code></pre>
  <p>any ideas how to solve it please?
  I already tried every possible way but with no luck</p>