-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Guillaume Hivert <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
apps/backend/db/migrations/20240514214138_add_package_type_fun_indexes.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- migrate:up | ||
create index package_type_fun_signature_name on package_type_fun_signature (name); | ||
create index package_type_fun_signature_signature on package_type_fun_signature using gin (to_tsvector('english', signature_)); | ||
|
||
-- migrate:down | ||
drop index package_type_fun_signature_name; | ||
drop index package_type_fun_signature_signature; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters