[3.1.x] Fixed #31650 -- Added note uniqueness of constraints names in docs.

Backport of 55556e51fb from master
This commit is contained in:
Hasan Ramezani 2020-06-04 07:36:12 +02:00 committed by Mariusz Felisiak
parent 392e12e266
commit 43254876c2
1 changed files with 4 additions and 2 deletions

View File

@ -67,7 +67,8 @@ ensures the age field is never less than 18.
.. 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
@ -97,7 +98,8 @@ date.
.. 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