diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2018-09-12 23:45:17 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-01-09 09:59:15 -0500 |
| commit | a35d2a4510d5beec398b1007aaa26492d6aedf97 (patch) | |
| tree | f21fd8cfc51a2a19370a1f3283e53f4cbef87553 /django/db/backends/base | |
| parent | e7f0e9b7045e7bcbe1e8ad85aec486c01f570e43 (diff) | |
Refs #23748 -- Added AutoField introspection for SQLite.
Diffstat (limited to 'django/db/backends/base')
| -rw-r--r-- | django/db/backends/base/features.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/django/db/backends/base/features.py b/django/db/backends/base/features.py index 30d44c4796..8afc7eb516 100644 --- a/django/db/backends/base/features.py +++ b/django/db/backends/base/features.py @@ -143,6 +143,10 @@ class BaseDatabaseFeatures: # Can the backend introspect a TimeField, instead of a DateTimeField? can_introspect_time_field = True + # Some backends may not be able to differentiate BigAutoField from other + # fields such as AutoField. + introspected_big_auto_field_type = 'BigAutoField' + # Some backends may not be able to differentiate BooleanField from other # fields such as IntegerField. introspected_boolean_field_type = 'BooleanField' |
