Alphabetized classes in contrib.postgres.operations.

This commit is contained in:
Tim Graham 2016-09-21 12:08:43 -04:00
parent 094d630ae8
commit cf0b402518
1 changed files with 8 additions and 8 deletions

View File

@ -23,6 +23,12 @@ class CreateExtension(Operation):
return "Creates extension %s" % self.name return "Creates extension %s" % self.name
class BtreeGinExtension(CreateExtension):
def __init__(self):
self.name = 'btree_gin'
class CITextExtension(CreateExtension): class CITextExtension(CreateExtension):
def __init__(self): def __init__(self):
@ -42,19 +48,13 @@ class HStoreExtension(CreateExtension):
register_hstore_handler(schema_editor.connection) register_hstore_handler(schema_editor.connection)
class UnaccentExtension(CreateExtension):
def __init__(self):
self.name = 'unaccent'
class TrigramExtension(CreateExtension): class TrigramExtension(CreateExtension):
def __init__(self): def __init__(self):
self.name = 'pg_trgm' self.name = 'pg_trgm'
class BtreeGinExtension(CreateExtension): class UnaccentExtension(CreateExtension):
def __init__(self): def __init__(self):
self.name = 'btree_gin' self.name = 'unaccent'