Skip to content

Commit

Permalink
fix: add index to users table on is_anonymous
Browse files Browse the repository at this point in the history
  • Loading branch information
kangmingtay committed Mar 1, 2024
1 parent 8f715b1 commit 66bd15f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions migrations/20240214120130_add_is_anonymous_column.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ begin
else false
end
) stored;

create index if not exists users_is_anonymous_idx on {{ index .Options "Namespace" }}.users using hash (is_anonymous);
end
$$;

0 comments on commit 66bd15f

Please sign in to comment.