Skip to content

Commit

Permalink
Revert "Flips the order in which we delete triggers and their associa…
Browse files Browse the repository at this point in the history
…ted functions (#2304)"

This reverts commit 19e1048.
  • Loading branch information
mvilanova authored Jul 12, 2022
1 parent 447a764 commit 1a16aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dispatch/search/fulltext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,8 @@ def hstore_vectorizer(column):
conn=conn,
)
classes = [
DropSearchFunctionSQL,
DropSearchTriggerSQL,
DropSearchFunctionSQL,
CreateSearchFunctionSQL,
CreateSearchTriggerSQL,
]
Expand Down Expand Up @@ -440,8 +440,8 @@ def downgrade():
table = Table(table_name, metadata, autoload=True, autoload_with=conn)
params = dict(tsvector_column=getattr(table.c, tsvector_column), options=options, conn=conn)
classes = [
DropSearchFunctionSQL,
DropSearchTriggerSQL,
DropSearchFunctionSQL,
]
for class_ in classes:
sql = class_(**params)
Expand Down

0 comments on commit 1a16aa1

Please sign in to comment.