def column_reflect(inspector, table, column_info):
if type(column_info['type']) is mysql.TINYINT:
column_info['type'] = Boolean()
#from application import User, Project, Branch, Thread, Comment, Likes, User_Tag, File_Tag, Named_Tag, Custom_Tag, Free_Tag, limiter, mail
# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
评论列表
文章目录