diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2020-06-04 07:36:12 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-06-04 07:39:08 +0200 |
| commit | b80c5baf2936e7b5edfc8055e144e8b2566b047d (patch) | |
| tree | 4c24c9d666f70dc8f609a922606dabd1174dfb3b /docs | |
| parent | 8ec607be8482da4dd95fb585ea94ef95ce6e023e (diff) | |
[3.0.x] Fixed #31650 -- Added note uniqueness of constraints names in docs.
Backport of 55556e51fb152c864ddc782d9b56e8b785ccf8bc from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/constraints.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/models/constraints.txt b/docs/ref/models/constraints.txt index f6d1842c14..1cb23e8080 100644 --- a/docs/ref/models/constraints.txt +++ b/docs/ref/models/constraints.txt @@ -65,7 +65,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 @@ -95,7 +96,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 |
