Skip to content

Commit

Permalink
- Add optional nulls_distinct arg to UniqueConstraint, which maps to …
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Bebak committed May 17, 2024
1 parent 6000613 commit dab13f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django-stubs/db/models/constraints.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ class UniqueConstraint(BaseConstraint):
include: str | Sequence[str] | None = ...,
opclasses: Sequence[str] = ...,
violation_error_message: str | None = ...,
nulls_distinct: bool | None = ...,
) -> None: ...

0 comments on commit dab13f1

Please sign in to comment.