summaryrefslogtreecommitdiff
path: root/django/db/backends/base/features.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/backends/base/features.py')
-rw-r--r--django/db/backends/base/features.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/django/db/backends/base/features.py b/django/db/backends/base/features.py
index 11dd079110..79abad82cf 100644
--- a/django/db/backends/base/features.py
+++ b/django/db/backends/base/features.py
@@ -27,6 +27,11 @@ class BaseDatabaseFeatures:
# Does the backend allow inserting duplicate rows when a unique_together
# constraint exists and some fields are nullable but not all of them?
supports_partially_nullable_unique_constraints = True
+
+ # Does the backend supports specifying whether NULL values should be
+ # considered distinct in unique constraints?
+ supports_nulls_distinct_unique_constraints = False
+
# Does the backend support initially deferrable unique constraints?
supports_deferrable_unique_constraints = False