diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2019-10-18 10:08:50 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-11-07 11:23:53 +0100 |
| commit | 02983c5242ee71925a7a9ca15ea7cab49e81396b (patch) | |
| tree | 37a1d6e4db0b32e88ccb792f525ad41ebba60ac0 /tests/postgres_tests/migrations | |
| parent | 26554cf5d1e96db10d0d5f4b69683a22fb82fdf8 (diff) | |
Fixed #30943 -- Added BloomIndex to django.contrib.postgres.
Diffstat (limited to 'tests/postgres_tests/migrations')
| -rw-r--r-- | tests/postgres_tests/migrations/0001_setup_extensions.py | 4 |
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 067c21849e..5064f7ff99 100644 --- a/tests/postgres_tests/migrations/0001_setup_extensions.py +++ b/tests/postgres_tests/migrations/0001_setup_extensions.py @@ -4,11 +4,12 @@ from django.db import migrations try: from django.contrib.postgres.operations import ( - BtreeGinExtension, BtreeGistExtension, CITextExtension, + BloomExtension, BtreeGinExtension, BtreeGistExtension, CITextExtension, CreateExtension, CryptoExtension, HStoreExtension, TrigramExtension, UnaccentExtension, ) except ImportError: + BloomExtension = mock.Mock() BtreeGinExtension = mock.Mock() BtreeGistExtension = mock.Mock() CITextExtension = mock.Mock() @@ -22,6 +23,7 @@ except ImportError: class Migration(migrations.Migration): operations = [ + BloomExtension(), BtreeGinExtension(), BtreeGistExtension(), CITextExtension(), |
