Skip to content

Commit

Permalink
Create index on token, then tier
Browse files Browse the repository at this point in the history
  • Loading branch information
IanPhilips committed Sep 18, 2024
1 parent b7e3ef2 commit 3bab2a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/supabase/contracts.sql
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ drop index if exists description_fts;

create index description_fts on public.contracts using gin (description_fts);

drop index if exists market_tier_idx;
drop index if exists market_token_tier_idx;

create index market_tier_idx on public.contracts using btree (tier);
create index market_token_tier_idx on public.contracts using btree (token, tier);

drop index if exists question_fts;

Expand Down

0 comments on commit 3bab2a0

Please sign in to comment.