Refs #35560 -- Corrected required feature flags in GeneratedModelUniqueConstraint.

This commit is contained in:
Mariusz Felisiak 2024-07-14 19:38:24 +02:00 committed by Sarah Boyce
parent dfd63ff434
commit 2d3bb414cf
1 changed files with 1 additions and 1 deletions

View File

@ -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"),