mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
I've tried to use/add the audit info to all events I could see/find. This makes this PR necessarily huge, because we do store quite a few events. I realise it might not be complete yet, but tests run green, and I think we now have a pattern to follow for other events.
8 lines
191 B
JavaScript
8 lines
191 B
JavaScript
exports.up = function (db, cb) {
|
|
db.runSql(`ALTER TABLE events ADD COLUMN ip TEXT`, cb);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(`ALTER TABLE events DROP COLUMN ip`, cb);
|
|
};
|