mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #31630 -- Replaced introspection features with DatabaseFeatures.introspected_field_types.
This commit is contained in:
parent
55556e51fb
commit
e198beadad
9 changed files with 90 additions and 94 deletions
|
@ -559,7 +559,7 @@ class SchemaTests(TransactionTestCase):
|
|||
columns = self.column_classes(Author)
|
||||
# BooleanField are stored as TINYINT(1) on MySQL.
|
||||
field_type = columns['awesome'][0]
|
||||
self.assertEqual(field_type, connection.features.introspected_boolean_field_type)
|
||||
self.assertEqual(field_type, connection.features.introspected_field_types['BooleanField'])
|
||||
|
||||
def test_add_field_default_transform(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue