schema: add auto_class + sorted to review_plans, drop confidence

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-18 10:10:40 +02:00
parent 68771bb980
commit ef417bea09
2 changed files with 27 additions and 1 deletions
+3 -1
View File
@@ -65,7 +65,8 @@ CREATE TABLE IF NOT EXISTS review_plans (
item_id INTEGER NOT NULL UNIQUE REFERENCES media_items(id) ON DELETE CASCADE,
status TEXT NOT NULL DEFAULT 'pending',
is_noop INTEGER NOT NULL DEFAULT 0,
confidence TEXT NOT NULL DEFAULT 'low',
auto_class TEXT,
sorted INTEGER NOT NULL DEFAULT 0,
apple_compat TEXT,
job_type TEXT NOT NULL DEFAULT 'copy',
subs_extracted INTEGER NOT NULL DEFAULT 0,
@@ -135,6 +136,7 @@ export const DEFAULT_CONFIG: Record<string, string> = {
sonarr_api_key: "",
sonarr_enabled: "0",
audio_languages: "[]",
auto_processing: "0",
scan_running: "0",
job_sleep_seconds: "0",