diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-09-04 16:54:27 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-09-05 09:18:34 +0200 |
| commit | e2c6a0858d7d9ad85eda353076a5b46608b704a9 (patch) | |
| tree | 6207019300056a7410d39464f362c6502846ce44 /docs/releases/3.0.txt | |
| parent | b93d786251513a5da102abc31f275ab3ee2850ed (diff) | |
Fixed #30750 -- Added support for check constraints on MySQL 8.0.16+.
Diffstat (limited to 'docs/releases/3.0.txt')
| -rw-r--r-- | docs/releases/3.0.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt index 2868e37e16..570effe6b3 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -353,6 +353,8 @@ Models * :attr:`.FileField.upload_to` now supports :class:`pathlib.Path`. +* :class:`~django.db.models.CheckConstraint` is now supported on MySQL 8.0.16+. + Requests and Responses ~~~~~~~~~~~~~~~~~~~~~~ @@ -579,6 +581,9 @@ Miscellaneous :ref:`x-content-type-options` header on all responses that do not already have it. +* On MySQL 8.0.16+, ``PositiveIntegerField`` and ``PositiveSmallIntegerField`` + now include a check constraint to prevent negative values in the database. + .. _deprecated-features-3.0: Features deprecated in 3.0 |
