We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command line: flask-sqlacodegen --flask sqlite:///data.db --outfile models_gen.py
gen result:
from sqlalchemy import Column, Integer, Table, Text from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
t_user_info = db.Table( 'user_info', db.Column('id', db.Integer), db.Column('reg_init_date', db.Text), db.Column('lease_expiration', db.Text), db.Column('strdogsoftid', db.Text), db.Column('reg_user_name', db.Text), db.Column('function_version', db.Integer), db.Column('type_version', db.Integer) )
The text was updated successfully, but these errors were encountered:
Thanks @dreamnyj. I don't actively maintain this project. If you would like to submit a PR I'm happy to review it.
Sorry, something went wrong.
@dreamnyj has the problem been solved?
No branches or pull requests
command line:
flask-sqlacodegen --flask sqlite:///data.db --outfile models_gen.py
gen result:
coding: utf-8
from sqlalchemy import Column, Integer, Table, Text
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
t_user_info = db.Table(
'user_info',
db.Column('id', db.Integer),
db.Column('reg_init_date', db.Text),
db.Column('lease_expiration', db.Text),
db.Column('strdogsoftid', db.Text),
db.Column('reg_user_name', db.Text),
db.Column('function_version', db.Integer),
db.Column('type_version', db.Integer)
)
The text was updated successfully, but these errors were encountered: