diff --git a/tests/schema/tests.py b/tests/schema/tests.py
index c51ef97..a5db118 100644
a
|
b
|
class SchemaTests(TransactionTestCase):
|
312 | 312 | ) |
313 | 313 | # Ensure the field is right afterwards |
314 | 314 | columns = self.column_classes(Author) |
315 | | # BooleanField are stored as TINYINT(1) on MySQL. |
316 | 315 | field_type, field_info = columns['awesome'] |
317 | | if connection.vendor == 'mysql': |
318 | | self.assertEqual(field_type, 'IntegerField') |
319 | | self.assertEqual(field_info.precision, 1) |
320 | | elif connection.vendor == 'oracle' and connection.version_has_default_introspection_bug: |
321 | | self.assertEqual(field_type, 'IntegerField') |
322 | | self.assertEqual(field_info.precision, 0) |
323 | | else: |
| 316 | if connection.features.can_introspect_boolean_field: |
324 | 317 | self.assertEqual(field_type, 'BooleanField') |
| 318 | else: |
| 319 | # e.g. BooleanField are stored as TINYINT(1) on MySQL. |
| 320 | self.assertIn(field_type, ('SmallIntegerField', 'IntegerField')) |
325 | 321 | |
326 | 322 | def test_add_field_default_transform(self): |
327 | 323 | """ |