mirror of
https://github.com/django/django.git
synced 2025-09-07 19:21:13 +00:00
Fixed #23357 -- Added small int introspection support to MySQL backend.
In the MySQL backend, updated the can_introspect_small_integer feature flag to True. In data_types_reverse, map FIELD_TYPE.SHORT to a SmallIntegerField. Added test to verify introspecting SmallIntegerFields and fixed existing tests influenced by this change.
This commit is contained in:
parent
a81af7f49d
commit
f0d3dd4f04
4 changed files with 6 additions and 3 deletions
|
@ -178,6 +178,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||
supports_date_lookup_using_string = False
|
||||
can_introspect_binary_field = False
|
||||
can_introspect_boolean_field = False
|
||||
can_introspect_small_integer_field = True
|
||||
supports_timezones = False
|
||||
requires_explicit_null_ordering_when_grouping = True
|
||||
allows_auto_pk_0 = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue