diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2019-07-14 01:24:35 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-07-19 11:05:06 +0200 |
| commit | 1fc2c70f7613e014a31771afa537439b28dd35fb (patch) | |
| tree | dae8ebfe89e687edb518bd6031d89f9c47f774c9 /django/db/backends/base/features.py | |
| parent | 7f612eda80db1c1c8e502aced54c2062080eae46 (diff) | |
Fixed #30593 -- Added support for check constraints on MariaDB 10.2+.
Diffstat (limited to 'django/db/backends/base/features.py')
| -rw-r--r-- | django/db/backends/base/features.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/db/backends/base/features.py b/django/db/backends/base/features.py index 3417fdf1cd..bb4b59e7c8 100644 --- a/django/db/backends/base/features.py +++ b/django/db/backends/base/features.py @@ -181,6 +181,8 @@ class BaseDatabaseFeatures: # Does it support CHECK constraints? supports_column_check_constraints = True supports_table_check_constraints = True + # Does the backend support introspection of CHECK constraints? + can_introspect_check_constraints = True # Does the backend support 'pyformat' style ("... %(name)s ...", {'name': value}) # parameter passing? Note this can be provided by the backend even if not |
