mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than NullBooleanField.
This commit is contained in:
@@ -476,10 +476,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(new_field)
|
||||
)
|
||||
self.assertEqual(field_type, connection.features.introspected_boolean_field_type)
|
||||
|
||||
def test_add_field_default_transform(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user