diff options
| author | Salvo Polizzi <salvopolizzi03@gmail.com> | 2024-11-28 13:52:58 +0100 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-11-28 17:40:52 +0100 |
| commit | b82f80906a563741e34aecac537b53c19945a44f (patch) | |
| tree | 7c043cbeeb3daf548fcc056a8114b89717e1675c /docs/ref | |
| parent | b92511b47475ce7fa1626d7d8c6180ae84bf0a19 (diff) | |
Fixed #35038 -- Created AlterConstraint operation.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/migration-operations.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt index 9e90b78623..b969b3dbfd 100644 --- a/docs/ref/migration-operations.txt +++ b/docs/ref/migration-operations.txt @@ -278,6 +278,16 @@ the model with ``model_name``. Removes the constraint named ``name`` from the model with ``model_name``. +``AlterConstraint`` +------------------- + +.. versionadded:: 5.2 + +.. class:: AlterConstraint(model_name, name, constraint) + +Alters the constraint named ``name`` of the model with ``model_name`` with the +new ``constraint`` without affecting the database. + Special Operations ================== |
