diff options
author | Malte Marquarding <malte@marquarding.com> | 2014-11-28 12:26:21 +1100 |
---|---|---|
committer | Malte Marquarding <malte@marquarding.com> | 2014-11-28 12:26:21 +1100 |
commit | 2ba2c52a7972877ad5e30aa8a0d730d1c968f6fb (patch) | |
tree | 2348d1b6b6498435021aa37f84c508e5da41e807 | |
parent | 2a06536d6e4bbdf8e3973877912ada1c0a54664c (diff) | |
download | alembic-2ba2c52a7972877ad5e30aa8a0d730d1c968f6fb.tar.gz |
Fix source_schema argument in BatchOperation.create_foreign_key
-rw-r--r-- | alembic/operations.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |