mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #31196 -- Installed postgis_raster extension on PostGIS 3+.
This commit is contained in:
committed by
Mariusz Felisiak
parent
cc70a0343e
commit
a6b4c07b6e
@@ -36,8 +36,8 @@ class MigrateTests(TransactionTestCase):
|
||||
self.assertTableExists("gis_migrations_family")
|
||||
if connection.features.supports_raster:
|
||||
self.assertTableExists("gis_migrations_heatmap")
|
||||
# Unmigrate everything
|
||||
call_command("migrate", "gis_migrations", "zero", verbosity=0)
|
||||
# Unmigrate models.
|
||||
call_command("migrate", "gis_migrations", "0001", verbosity=0)
|
||||
# All tables are gone
|
||||
self.assertTableNotExists("gis_migrations_neighborhood")
|
||||
self.assertTableNotExists("gis_migrations_household")
|
||||
|
||||
Reference in New Issue
Block a user