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

[ECO-1925] add another swap index #42

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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';
Loading