My flask project uses sqlalchemy_utils in some of its model definitions, which causes migration errors like:
NameError: global name 'sqlalchemy_utils' is not defined
due to this package not being imported in the migration files.
I'd like to have flask-migrate / alembic autogenerate the lines importing this package into the migration files, how do I achieve this?
I've looked at alembic.ini and migrations/env.py - but it's not obvious to me what is the right way / if it's possible at all.