photoprism/internal/migrate/mysql/20220329-061000.sql

1 line
No EOL
77 B
SQL

CREATE OR REPLACE INDEX idx_files_photo_id ON files (photo_id, file_primary);