From a35d2a4510d5beec398b1007aaa26492d6aedf97 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Wed, 12 Sep 2018 23:45:17 +0100 Subject: Refs #23748 -- Added AutoField introspection for SQLite. --- django/db/backends/base/features.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'django/db/backends/base') 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' -- cgit v1.3