All checks were successful
CI / test (push) Successful in 19s
- scheduler.ts and back-catalog-import.ts now set status='ignored' when monitored=false (channel monitoring mode excludes the item) - Migration 0019 fixes existing data: UPDATE status='ignored' WHERE monitored=0 - Modal.tsx focuses first [autofocus] element instead of the container div
6 lines
325 B
SQL
6 lines
325 B
SQL
-- Fix content items where monitored=false but status is still 'monitored'
|
|
-- These were incorrectly set to status='monitored' during scan/import
|
|
-- when the channel's monitoring mode didn't include them.
|
|
UPDATE content_items
|
|
SET status = 'ignored', updated_at = datetime('now')
|
|
WHERE monitored = 0 AND status = 'monitored';
|