]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Fix calling of custom type compare function
authorMaarten van Schaik <maarten@byte.nl>
Wed, 28 Aug 2013 08:15:18 +0000 (10:15 +0200)
committerMaarten van Schaik <maarten@byte.nl>
Wed, 28 Aug 2013 08:15:18 +0000 (10:15 +0200)
alembic/migration.py

index 4838e66b135a6ef143fdc5d82668eb5b2d667f0a..2b47c919cca3632ce216d2c29ee1435cfe088572 100644 (file)
@@ -280,7 +280,7 @@ class MigrationContext(object):
                 self,
                 inspector_column,
                 metadata_column,
-                inspector_column['type'],
+                inspector_column.type,
                 metadata_column.type
             )
             if user_value is not None: