          with connection.schema_editor() as editor:
              editor.create_model(Author)
          # Ensure the field is right to begin with
          columns = self.column_classes(Author)
          self.assertEqual(columns['name'][0], "CharField")
          self.assertNotIn("display_name", columns)
          # Alter the name field's name
          old_field = Author._meta.get_field("name")
          new_field = CharField(max_length=254)
          new_field.set_attributes_from_name("display_name")
 
</s> remove         self.assertEqual(columns['name'][0], "CharField")
 </s> add         self.assertEqual(columns['name'][0], connection.features.introspected_field_types['CharField']) </s> remove         self.assertEqual(columns['author_id'][0], "IntegerField")
 </s> add         self.assertEqual(columns['author_id'][0], connection.features.introspected_field_types['IntegerField']) </s> remove         self.assertEqual(columns['display_name'][0], "CharField")
 </s> add         self.assertEqual(columns['display_name'][0], connection.features.introspected_field_types['CharField']) </s> remove         self.assertEqual(columns['name'][0], "CharField")
 </s> add         self.assertEqual(columns['name'][0], connection.features.introspected_field_types['CharField']) </s> remove         self.assertEqual(columns['author_id'][0], "IntegerField")
 </s> add         self.assertEqual(columns['author_id'][0], connection.features.introspected_field_types['IntegerField'])
        self.assertEqual(columns['name'][0], connection.features.introspected_field_types['CharField'])
          with connection.schema_editor() as editor:
              editor.create_model(Author)
          # Ensure the field is right to begin with
          columns = self.column_classes(Author)
        self.assertEqual(columns['name'][0], connection.features.introspected_field_types['CharField'])
          self.assertNotIn("display_name", columns)
          # Alter the name field's name
          old_field = Author._meta.get_field("name")
          new_field = CharField(max_length=254)
          new_field.set_attributes_from_name("display_name")
keep keep keep keep replace keep keep keep keep keep
 Refs #31630 -- Added CharField and IntegerField to DatabaseFeatures.introspected_field_types.

CockroachDB introspects CharField as TextField and IntegerField as
BigIntegerField. 
tests/schema/tests.py