treewide: move migration logic into pinakes-migrations crate

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I98b8ed2eee464ecfd42f492dec49adeb6a6a6964
This commit is contained in:
raf 2026-05-20 17:01:03 +03:00
commit 9f9aa80265
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
43 changed files with 76 additions and 31 deletions

View file

@ -1,9 +0,0 @@
-- V14: Perceptual hash for duplicate detection
-- Add perceptual hash column for image similarity detection
ALTER TABLE media_items
ADD COLUMN perceptual_hash TEXT;
-- Index for perceptual hash lookups
CREATE INDEX idx_media_phash ON media_items (perceptual_hash)
WHERE
perceptual_hash IS NOT NULL;