mirror of
https://github.com/immich-app/immich.git
synced 2025-01-25 17:15:28 +02:00
309be88ccd
The query executed when loading the "People" page joins, among others, over "personId". The added indices improve the overall performance of those JOIN queries. Additionally, one ORDER BY clause is dropped since the resulting values will always be TRUE, and thus, sorting them does not change the result.