diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-07-14 19:38:24 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-07-15 10:25:09 +0200 |
| commit | c1028bdd0962cd2fdfdd966cd5c6243cb196d896 (patch) | |
| tree | f0401bf56694f16367e671d9573d5a19a8f1391f /tests | |
| parent | e82281c9f28e0bd1d95f04e2d2cccc3dd625d2ea (diff) | |
[5.0.x] Refs #35560 -- Corrected required feature flags in GeneratedModelUniqueConstraint.
Backport of 2d3bb414cfb2778cc64f22e7203102d7389f81e6 from main.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/model_fields/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_fields/models.py b/tests/model_fields/models.py index efa41a1a5b..9733bba23c 100644 --- a/tests/model_fields/models.py +++ b/tests/model_fields/models.py @@ -650,7 +650,7 @@ class GeneratedModelUniqueConstraint(GeneratedModelBase): class Meta: required_db_features = { "supports_stored_generated_columns", - "supports_table_check_constraints", + "supports_expression_indexes", } constraints = [ models.UniqueConstraint(F("a"), name="Generated model unique constraint a"), |
