              editor.alter_db_table(Author, "schema_author", "schema_otherauthor")
          # Ensure the table is there afterwards
          Author._meta.db_table = "schema_otherauthor"
          columns = self.column_classes(Author)
          self.assertEqual(columns['name'][0], "CharField")
          # Ensure the foreign key reference was updated
          self.assertForeignKeyExists(Book, "author_id", "schema_otherauthor")
          # Alter the table again
          with connection.schema_editor(atomic=connection.features.supports_atomic_references_rename) as editor:
              editor.alter_db_table(Author, "schema_otherauthor", "schema_author")
 
</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['name'][0], "CharField")
 </s> add         self.assertEqual(columns['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['tagm2mtest_id'][0], "IntegerField")
 </s> add         self.assertEqual(columns['tagm2mtest_id'][0], connection.features.introspected_field_types['IntegerField']) </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'])
              editor.alter_db_table(Author, "schema_author", "schema_otherauthor")
          # Ensure the table is there afterwards
          Author._meta.db_table = "schema_otherauthor"
          columns = self.column_classes(Author)
        self.assertEqual(columns['name'][0], connection.features.introspected_field_types['CharField'])
          # Ensure the foreign key reference was updated
          self.assertForeignKeyExists(Book, "author_id", "schema_otherauthor")
          # Alter the table again
          with connection.schema_editor(atomic=connection.features.supports_atomic_references_rename) as editor:
              editor.alter_db_table(Author, "schema_otherauthor", "schema_author")
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