summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--migrate/changeset/schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/migrate/changeset/schema.py b/migrate/changeset/schema.py
index 073379c..913b90f 100644
--- a/migrate/changeset/schema.py
+++ b/migrate/changeset/schema.py
@@ -334,7 +334,7 @@ class ColumnDelta(DictMixin, sqlalchemy.schema.SchemaItem):
while len(p):
if isinstance(p[0], basestring):
k.setdefault('name', p.pop(0))
- elif isinstance(p[0], sqlalchemy.types.AbstractType):
+ elif isinstance(p[0], sqlalchemy.types.TypeEngine):
k.setdefault('type', p.pop(0))
elif callable(p[0]):
p[0] = p[0]()