Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix swap index
Browse files Browse the repository at this point in the history
  • Loading branch information
CRBl69 committed Jul 2, 2024
1 parent 16e8abf commit 0e39715
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sql_extensions/migrations/00005_indexes_2.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CREATE INDEX inbox_events_swap_2
ON inbox_events (
(data ->> 'market_id'),
transaction_version DESC
)
WHERE event_name = 'emojicoin_dot_fun::Swap';

0 comments on commit 0e39715

Please sign in to comment.