All checks were successful
CI / test (push) Successful in 20s
- Rewrote scheduler enrichNewItems to fetch metadata per-video directly instead of redundantly re-running Phase 1 discovery. Background enrichment now calls yt-dlp --dump-json per video ID, updating publishedAt and duration on DB records. Emits scan:complete when enrichment finishes so clients know to refetch. - Added missing --> statement-breakpoint markers to migration 0011. Without them, Drizzle concatenated the three ALTER TABLE statements and SQLite only executed the first one, leaving embed_thumbnail and sponsor_block_remove columns missing from format_profiles.
4 lines
333 B
SQL
4 lines
333 B
SQL
-- Add YouTube enhancement columns to format_profiles
|
|
ALTER TABLE format_profiles ADD COLUMN embed_chapters INTEGER NOT NULL DEFAULT 0;--> statement-breakpoint
|
|
ALTER TABLE format_profiles ADD COLUMN embed_thumbnail INTEGER NOT NULL DEFAULT 0;--> statement-breakpoint
|
|
ALTER TABLE format_profiles ADD COLUMN sponsor_block_remove TEXT;
|