I am performing migrations using alembic
.
Configuration is of course stored in the alembic.ini
file.
I would like to have the encoding used when running the migrations as a configurable parameter.
Is there a field that can be used within alembic.ini
to do so?
e.g.
[various_config]
migrations_encoding=latin1
so that the sqlalchemy
url ends up being, e.g.
sqlalchemy.url = mysql+pymysql://user:password@db/db?charset=<the_value_above>