summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-07-14 19:38:24 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-07-15 10:20:09 +0200
commit2d3bb414cfb2778cc64f22e7203102d7389f81e6 (patch)
treef401aadf7a201a515a933731d6445d2ff93274db /tests/model_fields
parentdfd63ff43408e7901cc214b0482a7f844244d439 (diff)
Refs #35560 -- Corrected required feature flags in GeneratedModelUniqueConstraint.
Diffstat (limited to 'tests/model_fields')
-rw-r--r--tests/model_fields/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_fields/models.py b/tests/model_fields/models.py
index d9811ba164..5dfed00329 100644
--- a/tests/model_fields/models.py
+++ b/tests/model_fields/models.py
@@ -667,7 +667,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"),