mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-03-02 02:31:35 +00:00
Add local fetch option
This commit is contained in:
parent
f78ee4ff0f
commit
9a890574d5
7 changed files with 107 additions and 45 deletions
|
|
@ -7,6 +7,10 @@ const constants = {
|
|||
save_history: {
|
||||
type: "boolean",
|
||||
default: false
|
||||
},
|
||||
local: {
|
||||
type: "boolean",
|
||||
default: false
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,11 @@ const deltas = [
|
|||
function() {
|
||||
db.prepare("ALTER TABLE Channels ADD COLUMN refreshed INTEGER")
|
||||
.run()
|
||||
},
|
||||
// 2: Settings +local
|
||||
function() {
|
||||
db.prepare("ALTER TABLE Settings ADD COLUMN local INTEGER DEFAULT 0")
|
||||
.run()
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue