diff options
author | Paul Becotte <pjbecotte@gmail.com> | 2020-01-23 19:36:33 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-02-04 14:01:25 -0500 |
commit | 3ddf82e1e2b4fff47edbd45dd493e6bbd5880496 (patch) | |
tree | 71c3c66aedf3fd18c0005aaf8d60c089eab533c1 /.gitignore | |
parent | e7d1124a2a21d6236db4f850fa2f9df346e2299e (diff) | |
download | alembic-3ddf82e1e2b4fff47edbd45dd493e6bbd5880496.tar.gz |
Update the type comparison code used for schema autogeneration. Compare
A major rework of the "type comparison" logic is in place which changes the
entire approach by which column datatypes are compared. Types are now
compared based on the DDL string generated by the metadata type vs. the
datatype reflected from the database. This means we compare types based on
what would actually render and additionally if elements of the types change
like string length, those changes are detected as well. False positives
like those generated between SQLAlchemy Boolean and MySQL TINYINT should
also be resolved. Thanks very much to Paul Becotte for lots of hard work
and patience on this one.
Fixes: #605
Closes: #619
Pull-request: https://github.com/sqlalchemy/alembic/pull/619
Pull-request-sha: 1a6a3860881081c3b98fdbfc203f8d3af5f98926
Change-Id: I1ab30f2a30fc567cde56b5b8be5f521ff235b67b
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -14,3 +14,4 @@ coverage.xml /scratch /scratch_test_* /test_schema.db +.idea/ |