summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/migration-operations.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt
index d84fee2ade..f7778c2979 100644
--- a/docs/ref/migration-operations.txt
+++ b/docs/ref/migration-operations.txt
@@ -214,8 +214,8 @@ Removes the index named ``name`` from the model with ``model_name``.
.. versionadded:: 2.2
-Creates a constraint in the database table for the model with ``model_name``.
-``constraint`` is an instance of :class:`~django.db.models.CheckConstraint`.
+Creates a :doc:`constraint </ref/models/constraints>` in the database table for
+the model with ``model_name``.
``RemoveConstraint``
--------------------