mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
fix: set migration for feedbacK
This commit is contained in:
parent
26f66c4f93
commit
b374b82fef
14
src/migrations/20220131082150-reset-feedback-form.js
Normal file
14
src/migrations/20220131082150-reset-feedback-form.js
Normal file
@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
exports.up = function (db, cb) {
|
||||
db.runSql(
|
||||
`
|
||||
DELETE FROM user_feedback WHERE nevershow = false;
|
||||
`,
|
||||
cb,
|
||||
);
|
||||
};
|
||||
|
||||
exports.down = function (db, cb) {
|
||||
cb();
|
||||
};
|
Loading…
Reference in New Issue
Block a user