summaryrefslogtreecommitdiff
path: root/alembic/migration.py
diff options
context:
space:
mode:
authorBryce Lohr <bryce.lohr@gmail.com>2012-05-07 22:22:02 -0400
committerBryce Lohr <bryce.lohr@gmail.com>2012-05-07 22:22:02 -0400
commitbc8bae8e4e5aba607478d1d1b083e83122ba8816 (patch)
tree61208b02d37dca328e2e59f73bf61db5ff2e0a67 /alembic/migration.py
parent6ed983fc075450d874557e81feb0237d7a28a222 (diff)
parent2e10c456f835df1642626e2e3d4f4e44a8dd075e (diff)
downloadalembic-bc8bae8e4e5aba607478d1d1b083e83122ba8816.tar.gz
Merged revision 6ed983fc075450d874557e81feb0237d7a28a222 from upstream default tip
Diffstat (limited to 'alembic/migration.py')
-rw-r--r--alembic/migration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alembic/migration.py b/alembic/migration.py
index 1a65cd2..7669906 100644
--- a/alembic/migration.py
+++ b/alembic/migration.py
@@ -220,7 +220,7 @@ class MigrationContext(object):
if self.as_sql and not rev:
self._version.drop(self.connection)
- def execute(self, sql):
+ def execute(self, sql, execution_options=None):
"""Execute a SQL construct or string statement.
The underlying execution mechanics are used, that is
@@ -229,7 +229,7 @@ class MigrationContext(object):
the current SQLAlchemy connection.
"""
- self.impl._exec(sql)
+ self.impl._exec(sql, execution_options)
def _stdout_connection(self, connection):
def dump(construct, *multiparams, **params):