]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
- add a type here so that to account for pre-0.9 FK/type support
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 9 Nov 2014 17:40:35 +0000 (12:40 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 9 Nov 2014 17:40:35 +0000 (12:40 -0500)
tests/test_batch.py

index 0d5edd6b79b0f3c11ce814325dab68ed6824590b..faeff5a36ce7ea8f992068573c846214d885a276 100644 (file)
@@ -65,7 +65,7 @@ class BatchApplyTest(TestBase):
         t = Table(
             'tname', m,
             Column('id', Integer, primary_key=True),
-            Column('parent_id', ForeignKey('tname.id')),
+            Column('parent_id', Integer, ForeignKey('tname.id')),
             Column('data', String)
         )
         return ApplyBatchImpl(t, table_args, table_kwargs)