2021-03-23 12:43:33 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
exports.up = function(db, cb) {
|
|
|
|
db.runSql(
|
|
|
|
`
|
|
|
|
DELETE FROM events WHERE type = 'application-created';
|
|
|
|
UPDATE client_applications SET announced = false;
|
|
|
|
`,
|
|
|
|
cb,
|
|
|
|
);
|
|
|
|
};
|
2021-03-25 08:37:15 +01:00
|
|
|
|
|
|
|
exports.down = function(db, cb) {
|
|
|
|
cb();
|
|
|
|
};
|