mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #30913 -- Added system checks for covering indexes and unique constraints support.
This commit is contained in:
parent
8c7992f658
commit
f83b44075d
4 changed files with 138 additions and 4 deletions
|
@ -88,6 +88,7 @@ class UniqueConstraintInclude(models.Model):
|
|||
class Meta:
|
||||
required_db_features = {
|
||||
'supports_table_check_constraints',
|
||||
'supports_covering_indexes',
|
||||
}
|
||||
constraints = [
|
||||
models.UniqueConstraint(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue