Closed sqlalchemy-bot closed 8 years ago
Michael Bayer (@zzzeek) wrote:
Duplicate of #46.
Michael Bayer (@zzzeek) wrote:
please see the workaround in #46 and/or supply a type comparison function that works the way you want as documented at http://alembic.readthedocs.io/en/latest/autogenerate.html#comparing-types.
Changes by Michael Bayer (@zzzeek):
Migrated issue, originally created by Leonid Umanskiy
Hi, I am using flask-migrate which is based on Alembic. When I turn on the compare_type=True, alembic starts to detect "changes" in the table, from TINYINT(display_width=1) to Boolean(). Because of this, flask-migrate always detects changes in boolean columns.
Here is an example code: