Refactor sass for theming
This commit is contained in:
@@ -114,6 +114,21 @@ let constants = {
|
||||
default: "",
|
||||
boolean: true,
|
||||
replaceEmptyWithDefault: true
|
||||
},{
|
||||
name: "save_data",
|
||||
default: "automatic",
|
||||
boolean: false,
|
||||
replaceEmptyWithDefault: true
|
||||
},{
|
||||
name: "rewrite_youtube",
|
||||
default: "",
|
||||
boolean: false,
|
||||
replaceEmptyWithDefault: true
|
||||
},{
|
||||
name: "rewrite_twitter",
|
||||
default: "",
|
||||
boolean: false,
|
||||
replaceEmptyWithDefault: true
|
||||
}
|
||||
],
|
||||
|
||||
@@ -210,7 +225,7 @@ let constants = {
|
||||
|
||||
additional_routes: [],
|
||||
|
||||
database_version: 5
|
||||
database_version: 6
|
||||
}
|
||||
|
||||
// Override values from config and export the result
|
||||
|
||||
@@ -75,6 +75,17 @@ const deltas = new Map([
|
||||
.run()
|
||||
})()
|
||||
}],
|
||||
// version 5 to version 6
|
||||
[6, function() {
|
||||
db.transaction(() => {
|
||||
db.prepare("ALTER TABLE UserSettings ADD COLUMN save_data TEXT NOT NULL DEFAULT 'automatic'")
|
||||
.run()
|
||||
db.prepare("ALTER TABLE UserSettings ADD COLUMN rewrite_youtube TEXT NOT NULL DEFAULt ''")
|
||||
.run()
|
||||
db.prepare("ALTER TABLE UserSettings ADD COLUMN rewrite_twitter TEXT NOT NULL DEFAULT ''")
|
||||
.run()
|
||||
})()
|
||||
}]
|
||||
])
|
||||
|
||||
module.exports = async function() {
|
||||
|
||||
Reference in New Issue
Block a user