mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
ebb76a5354
This PR resets pnps prompts by removing entries in the user_feedback table
15 lines
282 B
JavaScript
15 lines
282 B
JavaScript
'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();
|
|
};
|