mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
11 lines
287 B
JavaScript
11 lines
287 B
JavaScript
|
exports.up = function (db, cb) {
|
||
|
db.runSql(
|
||
|
`INSERT INTO settings(name, content) VALUES ('sign_on_log_retention', '{"hours": 336}')`,
|
||
|
cb,
|
||
|
);
|
||
|
};
|
||
|
|
||
|
exports.down = function (db, cb) {
|
||
|
db.runSql(`DELETE FROM settings WHERE name = 'sign_on_log_retention'`, cb);
|
||
|
};
|