1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #32721 -- Fixed migrations crash when adding namespaced spatial indexes on PostGIS.

This commit is contained in:
snowman2
2021-05-13 13:02:31 +02:00
committed by Mariusz Felisiak
parent 99bc67a9e7
commit 29345aecf6
3 changed files with 30 additions and 5 deletions

View File

@@ -210,7 +210,7 @@ class OperationTests(OperationTestCase):
self.assertSpatialIndexExists('gis_neighborhood', 'point3d')
with connection.cursor() as cursor:
index_name = 'gis_neighborhood_point3d_id'
index_name = 'gis_neighborhood_point3d_113bc868_id'
cursor.execute(self.get_opclass_query, [index_name])
self.assertEqual(
cursor.fetchall(),