HEX
Server: Apache/2.4.63 (Unix)
System: Linux Synopilou92 4.4.302+ #72806 SMP Mon Jul 21 23:16:00 CST 2025 x86_64
User: pilou92 (1026)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /volume1/@appstore/SynologyPhotos/etc/sql/148.sql
CREATE INDEX IF NOT EXISTS face_person_group_migration_idx ON public.face
(
  id_user,
  id_person_group
);
CREATE INDEX IF NOT EXISTS person_group_cluster_migration_idx ON public.person_group
(
  id_user,
  id_cluster
);
CREATE INDEX IF NOT EXISTS face_person_group_list_idx ON public.face
(
  id_user,
  id_person_group,
  id
) WHERE feature IS NOT NULL;
CREATE INDEX IF NOT EXISTS person_group_cluster_list_idx ON public.person_group
(
  id_user,
  id_cluster,
  id
);
CREATE INDEX IF NOT EXISTS face_unit_face_list_idx ON public.face
(
  id_user,
  id_unit,
  id
) WHERE is_manual IS false;