feat: advanced options screen triggers
This commit is contained in:
parent
c4a26a7f37
commit
5ed84b7cdb
6 changed files with 337 additions and 65 deletions
|
|
@ -0,0 +1,16 @@
|
|||
const db = require('./db')
|
||||
|
||||
|
||||
exports.up = function (next) {
|
||||
|
||||
const sql2 = [`insert into user_config (type, data, valid, schema_version) values ('config', '{"config":{
|
||||
"triggersConfig_expirationTime": "Forever",
|
||||
"triggersConfig_automation": "Automatic"
|
||||
} }', true, 2)`]
|
||||
|
||||
db.multi(sql2, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue