[3.0.x] Fixed #31650 -- Added note uniqueness of constraints names in docs.
Backport of 55556e51fb152c864ddc782d9b56e8b785ccf8bc from master
This commit is contained in:
parent
8ec607be84
commit
b80c5baf29
@ -65,7 +65,8 @@ ensures the age field is never less than 18.
|
|||||||
|
|
||||||
.. attribute:: CheckConstraint.name
|
.. attribute:: CheckConstraint.name
|
||||||
|
|
||||||
The name of the constraint.
|
The name of the constraint. You must always specify a unique name for the
|
||||||
|
constraint.
|
||||||
|
|
||||||
.. versionchanged:: 3.0
|
.. versionchanged:: 3.0
|
||||||
|
|
||||||
@ -95,7 +96,8 @@ date.
|
|||||||
|
|
||||||
.. attribute:: UniqueConstraint.name
|
.. attribute:: UniqueConstraint.name
|
||||||
|
|
||||||
The name of the constraint.
|
The name of the constraint. You must always specify a unique name for the
|
||||||
|
constraint.
|
||||||
|
|
||||||
.. versionchanged:: 3.0
|
.. versionchanged:: 3.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user