Skip to content

Commit

Permalink
move admin index to existing code
Browse files Browse the repository at this point in the history
  • Loading branch information
phiresky committed Jul 5, 2023
1 parent d5bc201 commit d0c58d5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion migrations/2023-07-04-153335_add_optimized_indexes/up.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- Create an admin person index
create index idx_person_admin on person (admin);
create index if not exists idx_person_admin on person (admin) where admin;

-- Compound indexes, using featured_, then the other sorts, proved to be much faster
-- Drop the old indexes
Expand Down
1 change: 0 additions & 1 deletion migrations/2023-07-05-000058_person-admin/down.sql

This file was deleted.

1 change: 0 additions & 1 deletion migrations/2023-07-05-000058_person-admin/up.sql

This file was deleted.

0 comments on commit d0c58d5

Please sign in to comment.