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

1 line
No EOL
80 B
SQL

CREATE INDEX IF NOT EXISTS idx_files_photo_id ON files (photo_id, file_primary);