Fixed #31650 -- Added note uniqueness of constraints names in docs.
This commit is contained in:
parent
b8b129e58c
commit
55556e51fb
|
@ -67,7 +67,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.
|
||||||
|
|
||||||
``UniqueConstraint``
|
``UniqueConstraint``
|
||||||
====================
|
====================
|
||||||
|
@ -93,7 +94,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.
|
||||||
|
|
||||||
``condition``
|
``condition``
|
||||||
-------------
|
-------------
|
||||||
|
|
Loading…
Reference in New Issue