feat: User-Benachrichtigung wenn Admin Favoriten quittiert
This commit is contained in:
@@ -560,6 +560,8 @@ if (!db.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='mov
|
||||
db.exec("ALTER TABLE movie_favorites ADD COLUMN acknowledged INTEGER NOT NULL DEFAULT 0");
|
||||
if (!cols.includes('acknowledged_at'))
|
||||
db.exec("ALTER TABLE movie_favorites ADD COLUMN acknowledged_at DATETIME DEFAULT NULL");
|
||||
if (!cols.includes('user_notified'))
|
||||
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'");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user