From 2ba2c52a7972877ad5e30aa8a0d730d1c968f6fb Mon Sep 17 00:00:00 2001 From: Malte Marquarding Date: Fri, 28 Nov 2014 12:26:21 +1100 Subject: Fix source_schema argument in BatchOperation.create_foreign_key --- alembic/operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alembic/operations.py b/alembic/operations.py index fc52e03..8e6c828 100644 --- a/alembic/operations.py +++ b/alembic/operations.py @@ -1333,7 +1333,7 @@ class BatchOperations(Operations): """ return super(BatchOperations, self).create_foreign_key( name, self.impl.table_name, referent, local_cols, remote_cols, - schema=self.impl.schema) + source_schema=self.impl.schema, **kw) def create_unique_constraint(self, name, local_cols, **kw): """Issue a "create unique constraint" instruction using the -- cgit v1.2.1