Flask SQLAlchemy创建模型时怎么给字段添加注释? - liuyuzhou/python-file GitHub Wiki
SQLAlchemy1.2新增了comment参数,如需对telephone字段添加注释,如: telephone = db.Column(db.String(11), nullable=False, comment='电话')
SQLAlchemy1.2新增了comment参数,如需对telephone字段添加注释,如: telephone = db.Column(db.String(11), nullable=False, comment='电话')