feat: Media-Requests im Dashboard mit Neu/Gesehen-Unterscheidung statt nur Favoriten-Zaehler

This commit is contained in:
2026-07-15 01:19:16 +02:00
parent 747111fef4
commit 7e6ea9b010
4 changed files with 31 additions and 8 deletions

View File

@@ -566,6 +566,8 @@ if (!db.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='mov
db.exec("ALTER TABLE movie_favorites ADD COLUMN user_notified INTEGER NOT NULL DEFAULT 0");
if (!cols.includes('media_type'))
db.exec("ALTER TABLE movie_favorites ADD COLUMN media_type TEXT NOT NULL DEFAULT 'movie'");
if (!cols.includes('admin_seen'))
db.exec("ALTER TABLE movie_favorites ADD COLUMN admin_seen INTEGER NOT NULL DEFAULT 0");
}
// xREL Badge Cache (persistent, überlebt Container-Restarts)