--nocomments not work
wangbs95 opened this issue · 0 comments
wangbs95 commented
my command:
flask-sqlacodegen --nocomments --tables resource --flask 'mysql://root:Mysql147@127.0.0.1/stock?charset=utf8'
result:
# coding: utf-8
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
class Resource(db.Model):
__tablename__ = 'resource'
id = db.Column(db.Integer, primary_key=True, info='主键')
file_name = db.Column(db.String(255, 'utf8_bin'), nullable=False, info='文件名(带格式后缀)')
file = db.Column(db.LargeBinary, info='文件')
it's still have info='xxx'.