title: How to add comments to table or column in mysql using SQLAlchemy?
body: <p>I want to add comments to the table and columns created of a model.
  I tried the <code>doc</code> parameter of the <code>Column</code> class, like the following:</p>
  <pre><code>class Notice(db.Model):
      __tablename__ = &quot;tb_notice&quot;
      __table_args__ = {'mysql_engine': 'MyISAM'}
  
      seqno = db.Column(db.Integer, primary_key=True, autoincrement=True, doc=&quot;seqno&quot;)
      title = db.Column(db.String(200), nullable=False, doc=&quot;notice title&quot;)
      detail = db.Column(db.TEXT, nullable=True, doc=&quot;notice detail &quot;)
  </code></pre>
  <p>But it didn't work, the comments weren't added to the SQL creation statement, and I wonder how to add a comment to the table.</p>