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

8 lines
163 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)