1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-03-19 02:41:36 +00:00

Keep subscriptions in database if channel deleted

This commit is contained in:
Cadence Ember 2021-08-23 23:43:23 +12:00
parent deea909585
commit 0aa0505009
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
4 changed files with 13 additions and 5 deletions

View file

@ -53,6 +53,11 @@ const deltas = [
function() {
db.prepare("ALTER TABLE Settings ADD COLUMN recommended_mode INTEGER DEFAULT 0")
.run()
},
// 8: Subscriptions +channel_missing
function() {
db.prepare("ALTER TABLE Subscriptions ADD COLUMN channel_missing INTEGER DEFAULT 0")
.run()
}
]