1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

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