summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/3.0.txt5
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