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

2 lines
121 B
MySQL
Raw Normal View History

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