lemmy/migrations/2023-07-05-000058_person-admin/up.sql

2 lines
155 B
SQL

drop index if exists idx_person_admin;
create index idx_person_admin on person(admin) where admin; -- allow quickly finding all admins (PersonView::admins)