summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/operations.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/postgres/operations.py')
-rw-r--r--django/contrib/postgres/operations.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/django/contrib/postgres/operations.py b/django/contrib/postgres/operations.py
index 740911d059..b25438b826 100644
--- a/django/contrib/postgres/operations.py
+++ b/django/contrib/postgres/operations.py
@@ -55,6 +55,10 @@ class CreateExtension(Operation):
def describe(self):
return "Creates extension %s" % self.name
+ @property
+ def migration_name_fragment(self):
+ return 'create_extension_%s' % self.name
+
class BloomExtension(CreateExtension):