summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/migrations/0001_setup_extensions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/postgres_tests/migrations/0001_setup_extensions.py')
-rw-r--r--tests/postgres_tests/migrations/0001_setup_extensions.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/postgres_tests/migrations/0001_setup_extensions.py b/tests/postgres_tests/migrations/0001_setup_extensions.py
index 07d5bfc7e7..400dd091f4 100644
--- a/tests/postgres_tests/migrations/0001_setup_extensions.py
+++ b/tests/postgres_tests/migrations/0001_setup_extensions.py
@@ -5,12 +5,13 @@ from django.db import migrations
try:
from django.contrib.postgres.operations import (
- CreateExtension, HStoreExtension, UnaccentExtension,
+ CreateExtension, HStoreExtension, TrigramExtension, UnaccentExtension,
)
except ImportError:
from django.test import mock
CreateExtension = mock.Mock()
HStoreExtension = mock.Mock()
+ TrigramExtension = mock.Mock()
UnaccentExtension = mock.Mock()
@@ -21,5 +22,6 @@ class Migration(migrations.Migration):
# dash in its name.
CreateExtension('uuid-ossp'),
HStoreExtension(),
+ TrigramExtension(),
UnaccentExtension(),
]