Files
silo-server/migrations/sql/20260609120500_media_files_lower_file_path_index.sql
T
bf54f040f9 fix(audiobooks): extract scan covers and harden dedupe (#103)
* fix(audiobooks): extract scan covers and harden dedupe

* fix(audiobooks): address scan cover review

---------

Co-authored-by: rxwatcher <rxwatcher@users.noreply.github.com>
Co-authored-by: Quick <31828688+Quick104@users.noreply.github.com>
2026-06-16 17:58:01 -04:00

9 lines
264 B
SQL

-- +goose NO TRANSACTION
-- +goose Up
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_media_files_folder_lower_file_path
ON media_files (media_folder_id, lower(file_path));
-- +goose Down
DROP INDEX CONCURRENTLY IF EXISTS idx_media_files_folder_lower_file_path;