Commits

Bryce Lohr committed 7cdba99

Added missing 'execution_options' kwarg that only appeared to be used from the multidb template.

Comments (0)

Files changed (1)

alembic/migration.py

             if self.as_sql and not rev:
                 _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
         the current SQLAlchemy connection.
 
         """
-        self.impl._exec(sql)
+        self.impl._exec(sql, execution_options)
 
     def _stdout_connection(self, connection):
         def dump(construct, *multiparams, **params):