Browse Source

Refs #33508 -- Corrected note about MySQL/MariaDB support of index ordering.

Hannes Ljungberg 2 years ago
parent
commit
6f311c7e35
1 changed files with 6 additions and 2 deletions
  1. 6 2
      docs/ref/models/indexes.txt

+ 6 - 2
docs/ref/models/indexes.txt

@@ -80,8 +80,12 @@ define an index with a descending order for a column, add a hyphen before the
 field's name.
 
 For example ``Index(fields=['headline', '-pub_date'])`` would create SQL with
-``(headline, pub_date DESC)``. Index ordering isn't supported on MySQL. In that
-case, a descending index is created as a normal index.
+``(headline, pub_date DESC)``.
+
+.. admonition:: MySQL and MariaDB
+
+    Index ordering isn't supported on MySQL < 8.0.1 and MariaDB < 10.8. In that
+    case, a descending index is created as a normal index.
 
 ``name``
 --------