1
0
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:
Claude Paroz
2020-04-10 22:30:25 +02:00
committed by Mariusz Felisiak
parent cc70a0343e
commit a6b4c07b6e
7 changed files with 93 additions and 2 deletions

View File

@@ -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")