summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/operations.py
diff options
context:
space:
mode:
authorAkshesh <aksheshdoshi@gmail.com>2016-08-08 08:45:08 +0530
committerTim Graham <timograham@gmail.com>2016-08-12 18:37:00 -0400
commit236baa0f0ec31422bc8c36b24e41112f7a564532 (patch)
tree43d0ec9a009d894be4bc247c6a3be8fc3172b572 /django/contrib/postgres/operations.py
parente1acc9dc6638379513648b301e870ff2a40001fd (diff)
downloaddjango-236baa0f0ec31422bc8c36b24e41112f7a564532.tar.gz
Refs #27030 -- Added BtreeGinExtension operation.
Diffstat (limited to 'django/contrib/postgres/operations.py')
-rw-r--r--django/contrib/postgres/operations.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/django/contrib/postgres/operations.py b/django/contrib/postgres/operations.py
index 5992f00725..6253011217 100644
--- a/django/contrib/postgres/operations.py
+++ b/django/contrib/postgres/operations.py
@@ -46,3 +46,9 @@ class TrigramExtension(CreateExtension):
def __init__(self):
self.name = 'pg_trgm'
+
+
+class BtreeGinExtension(CreateExtension):
+
+ def __init__(self):
+ self.name = 'btree_gin'