Skip to content

Commit

Permalink
fix: Add TextClause to alter_column's server_default fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanCardin committed Dec 6, 2024
1 parent de3958b commit e21d07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alembic/op.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def alter_column(
type_: Union[TypeEngine[Any], Type[TypeEngine[Any]], None] = None,
existing_type: Union[TypeEngine[Any], Type[TypeEngine[Any]], None] = None,
existing_server_default: Union[
str, bool, Identity, Computed, None
str, bool, Identity, Computed, TextClause, None
] = False,
existing_nullable: Optional[bool] = None,
existing_comment: Optional[str] = None,
Expand Down

0 comments on commit e21d07e

Please sign in to comment.