I want to add comments to the table and columns created of a model. I tried the doc parameter of the Column class, like the following:
doc
Column
in new 1.2 version you can do
class Notice(db.Model): __tablename__ = "tb_notice" __table_args__ = { 'mysql_engine': 'MyISAM' 'comment': 'yeah comment' }