1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

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.
This commit is contained in:
Jaanus Sellin 2024-09-03 16:27:11 +03:00 committed by GitHub
parent 3d63089cb2
commit 9eb80a8d48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,17 @@
'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);
};