mirror of
https://github.com/django/django.git
synced 2025-01-18 14:24:39 +00:00
Refs #35560 -- Corrected required feature flags in GeneratedModelUniqueConstraint.
This commit is contained in:
parent
dfd63ff434
commit
2d3bb414cf
@ -667,7 +667,7 @@ class GeneratedModelUniqueConstraint(GeneratedModelBase):
|
|||||||
class Meta:
|
class Meta:
|
||||||
required_db_features = {
|
required_db_features = {
|
||||||
"supports_stored_generated_columns",
|
"supports_stored_generated_columns",
|
||||||
"supports_table_check_constraints",
|
"supports_expression_indexes",
|
||||||
}
|
}
|
||||||
constraints = [
|
constraints = [
|
||||||
models.UniqueConstraint(F("a"), name="Generated model unique constraint a"),
|
models.UniqueConstraint(F("a"), name="Generated model unique constraint a"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user