mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-26 01:17:00 +02:00
fix: set migration for feedbacK (#1315)
This commit is contained in:
parent
013a4b0711
commit
d2b4eef8ba
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