diff options
Diffstat (limited to 'tests/model_forms/models.py')
| -rw-r--r-- | tests/model_forms/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/model_forms/models.py b/tests/model_forms/models.py index 6d984379f0..f6c34a3521 100644 --- a/tests/model_forms/models.py +++ b/tests/model_forms/models.py @@ -529,6 +529,7 @@ class ConstraintsModel(models.Model): price = models.DecimalField(max_digits=10, decimal_places=2, default=0) class Meta: + required_db_features = {"supports_table_check_constraints"} constraints = [ models.UniqueConstraint( "name", |
