mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-10 17:53:36 +02:00
add notifications_retention setting
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
e4b84bc2a3
commit
07661b3f49
@ -0,0 +1,13 @@
|
|||||||
|
exports.up = function (db, cb) {
|
||||||
|
db.runSql(
|
||||||
|
`INSERT INTO settings(name, content) VALUES ('notifications_retention', '{"hours": 720}')`,
|
||||||
|
cb,
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
exports.down = function (db, cb) {
|
||||||
|
db.runSql(
|
||||||
|
`DELETE FROM settings WHERE name = 'notifications_retention'`,
|
||||||
|
cb,
|
||||||
|
);
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user