diff --git a/alembic/ddl/impl.py b/alembic/ddl/impl.py index cda0a4f6..cc17ee75 100644 --- a/alembic/ddl/impl.py +++ b/alembic/ddl/impl.py @@ -140,7 +140,7 @@ def static_output(self, text: str) -> None: self.output_buffer.flush() def version_table_impl( - self, version_table, version_table_schema, version_table_pk + self, *, version_table, version_table_schema, version_table_pk, **kw ) -> Table: """create the Table object for the version_table. diff --git a/alembic/runtime/migration.py b/alembic/runtime/migration.py index e222f36d..28f01c3b 100644 --- a/alembic/runtime/migration.py +++ b/alembic/runtime/migration.py @@ -199,9 +199,9 @@ def __init__( ) self._version = self.impl.version_table_impl( - version_table, - version_table_schema, - opts.get("version_table_pk", True), + version_table=version_table, + version_table_schema=version_table_schema, + version_table_pk=opts.get("version_table_pk", True), ) log.info("Context impl %s.", self.impl.__class__.__name__)