diff --git a/sql_extensions/migrations/00005_indexes_2.sql b/sql_extensions/migrations/00005_indexes_2.sql new file mode 100644 index 0000000..cabe071 --- /dev/null +++ b/sql_extensions/migrations/00005_indexes_2.sql @@ -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';