summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-06-04 07:36:12 +0200
committerGitHub <noreply@github.com>2020-06-04 07:36:12 +0200
commit55556e51fb152c864ddc782d9b56e8b785ccf8bc (patch)
tree7c37c7d8fd45b389aa845c6bb5a30633e47bfbe2 /docs
parentb8b129e58ccd02263fb24ffc8b5c9fa63ba10e5b (diff)
Fixed #31650 -- Added note uniqueness of constraints names in docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/constraints.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/models/constraints.txt b/docs/ref/models/constraints.txt
index ed56536606..cda25dc4dd 100644
--- a/docs/ref/models/constraints.txt
+++ b/docs/ref/models/constraints.txt
@@ -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.
``UniqueConstraint``
====================
@@ -93,7 +94,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.
``condition``
-------------