Skip to content

Commit

Permalink
Update post bonding curve idx to be more accurate/efficient
Browse files Browse the repository at this point in the history
  • Loading branch information
matt committed Aug 22, 2024
1 parent 3cb23ca commit 41444bf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ CREATE TABLE market_latest_state_event (
);

CREATE INDEX mkts_post_bonding_curve_idx
ON market_latest_state_event (market_id)
ON market_latest_state_event (in_bonding_curve)
INCLUDE (market_id)
WHERE in_bonding_curve = FALSE;

CREATE INDEX unique_mkts_idx
Expand Down

0 comments on commit 41444bf

Please sign in to comment.