1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-01 13:47:27 +02:00

feat: reset pnps feedback

This commit is contained in:
sjaanus 2025-07-03 09:08:18 +03:00
parent 30fbc62f9b
commit 2571e6c17e
No known key found for this signature in database
GPG Key ID: 20E007C0248BA7FF

View File

@ -0,0 +1,14 @@
'use strict';
exports.up = function (db, callback) {
db.runSql(
`
DELETE FROM user_feedback WHERE feedback_id = 'pnps' AND given < NOW() - INTERVAL '3 months';
`,
callback(),
);
};
exports.down = function (db, callback) {
callback();
};