Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion alembic/operations/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1857,7 +1857,10 @@ def create_foreign_key(
...

def create_index(
self, index_name: str, columns: list[str], **kw: Any
self,
index_name: str,
columns: Sequence[str | TextClause | ColumnElement[Any]],
**kw: Any,
) -> None:
"""Issue a "create index" instruction using the
current batch migration context.
Expand Down
2 changes: 1 addition & 1 deletion alembic/operations/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ def batch_create_index(
cls,
operations: BatchOperations,
index_name: str,
columns: list[str],
columns: Sequence[str | TextClause | ColumnElement[Any]],
**kw: Any,
) -> None:
"""Issue a "create index" instruction using the
Expand Down