mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-03-02 02:31:35 +00:00
Setting to alter recommended videos display
This commit is contained in:
parent
21629de594
commit
739f537bc7
6 changed files with 32 additions and 3 deletions
|
|
@ -20,6 +20,10 @@ let constants = {
|
|||
quality: {
|
||||
type: "integer",
|
||||
default: 0
|
||||
},
|
||||
recommended_mode: {
|
||||
type: "integer",
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,11 @@ const deltas = [
|
|||
function() {
|
||||
db.prepare("CREATE TABLE Filters (id INTEGER, token TEXT NOT NULL, type TEXT NOT NULL, data TEXT NOT NULL, label TEXT, PRIMARY KEY (id))")
|
||||
.run()
|
||||
},
|
||||
// 7: Settings +recommended_mode
|
||||
function() {
|
||||
db.prepare("ALTER TABLE Settings ADD COLUMN recommended_mode INTEGER DEFAULT 0")
|
||||
.run()
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue