Skip to content

Commit

Permalink
fix: full-text search performances (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt authored Jan 6, 2025
1 parent fa0fd77 commit d7fe839
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/db/0056.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
drop index if exists run_input_idx;
drop index if exists run_output_idx;
drop index if exists run_error_idx;
drop table log;
create extension if not exists btree_gin;
create index run_project_id_input_idx on run using gin (project_id, ((input)::text) gin_trgm_ops);
create index run_project_id_output_idx on run using gin (project_id, ((output)::text) gin_trgm_ops);

0 comments on commit d7fe839

Please sign in to comment.