mirror of
https://github.com/django/django.git
synced 2025-07-23 05:05:17 +00:00
Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.
This commit is contained in:
parent
50798d4389
commit
e536fa5ce1
10 changed files with 17 additions and 36 deletions
|
@ -1,6 +1,6 @@
|
|||
from unittest import mock
|
||||
|
||||
from django.db import connection, migrations
|
||||
from django.db import migrations
|
||||
|
||||
try:
|
||||
from django.contrib.postgres.operations import (
|
||||
|
@ -23,11 +23,7 @@ except ImportError:
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
operations = [
|
||||
(
|
||||
BloomExtension()
|
||||
if getattr(connection.features, 'has_bloom_index', False)
|
||||
else mock.Mock()
|
||||
),
|
||||
BloomExtension(),
|
||||
BtreeGinExtension(),
|
||||
BtreeGistExtension(),
|
||||
CITextExtension(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue