Skip to content

Commit

Permalink
fix: set migration for feedbacK (#1315)
Browse files Browse the repository at this point in the history
  • Loading branch information
FredrikOseberg committed Jan 31, 2022
1 parent 013a4b0 commit d2b4eef
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/migrations/20220131082150-reset-feedback-form.js
@@ -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();
};

0 comments on commit d2b4eef

Please sign in to comment.