summaryrefslogtreecommitdiff
path: root/django/db/backends/sqlite3/features.py
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2018-09-12 23:45:17 +0100
committerTim Graham <timograham@gmail.com>2019-01-09 09:59:15 -0500
commita35d2a4510d5beec398b1007aaa26492d6aedf97 (patch)
treef21fd8cfc51a2a19370a1f3283e53f4cbef87553 /django/db/backends/sqlite3/features.py
parente7f0e9b7045e7bcbe1e8ad85aec486c01f570e43 (diff)
Refs #23748 -- Added AutoField introspection for SQLite.
Diffstat (limited to 'django/db/backends/sqlite3/features.py')
-rw-r--r--django/db/backends/sqlite3/features.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/db/backends/sqlite3/features.py b/django/db/backends/sqlite3/features.py
index 69a42cdc02..19e949899f 100644
--- a/django/db/backends/sqlite3/features.py
+++ b/django/db/backends/sqlite3/features.py
@@ -16,10 +16,12 @@ class DatabaseFeatures(BaseDatabaseFeatures):
max_query_params = 999
supports_mixed_date_datetime_comparisons = False
autocommits_when_autocommit_is_off = sys.version_info < (3, 6)
+ can_introspect_autofield = True
can_introspect_decimal_field = False
can_introspect_duration_field = False
can_introspect_positive_integer_field = True
can_introspect_small_integer_field = True
+ introspected_big_auto_field_type = 'AutoField'
supports_transactions = True
atomic_transactions = False
can_rollback_ddl = True