              editor.create_model(TagM2MTest)
              editor.create_model(LocalBookWithM2M)
          # Ensure there is now an m2m table there
          columns = self.column_classes(LocalBookWithM2M._meta.get_field("tags").remote_field.through)
          self.assertEqual(columns['tagm2mtest_id'][0], "IntegerField")
  
      def test_m2m_create(self):
          self._test_m2m_create(ManyToManyField)
  
      def test_m2m_create_custom(self):
 
</s> remove         self.assertEqual(columns['book_id'][0], "IntegerField")
        self.assertEqual(columns['tag_id'][0], "IntegerField")
 </s> add         self.assertEqual(columns['book_id'][0], connection.features.introspected_field_types['IntegerField'])
        self.assertEqual(columns['tag_id'][0], connection.features.introspected_field_types['IntegerField']) </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['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'])
        self.assertEqual(columns['tagm2mtest_id'][0], connection.features.introspected_field_types['IntegerField'])
              editor.create_model(TagM2MTest)
              editor.create_model(LocalBookWithM2M)
          # Ensure there is now an m2m table there
          columns = self.column_classes(LocalBookWithM2M._meta.get_field("tags").remote_field.through)
        self.assertEqual(columns['tagm2mtest_id'][0], connection.features.introspected_field_types['IntegerField'])
  
      def test_m2m_create(self):
          self._test_m2m_create(ManyToManyField)
  
      def test_m2m_create_custom(self):
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