mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23748 -- Added AutoField introspection for SQLite.
This commit is contained in:
@@ -110,7 +110,7 @@ class IntrospectionTests(TransactionTestCase):
|
||||
def test_bigautofield(self):
|
||||
with connection.cursor() as cursor:
|
||||
desc = connection.introspection.get_table_description(cursor, City._meta.db_table)
|
||||
self.assertIn('BigAutoField', [datatype(r[1], r) for r in desc])
|
||||
self.assertIn(connection.features.introspected_big_auto_field_type, [datatype(r[1], r) for r in desc])
|
||||
|
||||
# Regression test for #9991 - 'real' types in postgres
|
||||
@skipUnlessDBFeature('has_real_datatype')
|
||||
|
||||
Reference in New Issue
Block a user