1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-24 20:06:55 +01:00
unleash.unleash/src/migrations/20240903152133-clear-onboarding-events.js
Jaanus Sellin 9eb80a8d48
chore: clear onboarding events (#8062)
Clearing onboarding tables, because the data is invalid and we want to
start tracking all of this for only new customers.
This migration must be applied after the new logic is implemented.
2024-09-03 16:27:11 +03:00

18 lines
288 B
JavaScript

'use strict';
exports.up = function (db, cb) {
db.runSql(
`
DELETE FROM onboarding_events_instance;
DELETE FROM onboarding_events_project;
`,
cb,
);
};
exports.down = function (db, cb) {
db.runSql(
``,
cb);
};