1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: start tracking user first login

This commit is contained in:
sjaanus 2024-08-28 15:53:57 +03:00
parent 031a2e805a
commit b81f443722
No known key found for this signature in database
GPG Key ID: 20E007C0248BA7FF

View File

@ -0,0 +1,18 @@
'use strict';
exports.up = function (db, cb) {
db.runSql(
`
ALTER TABLE users ADD COLUMN first_seen_at timestamp without time zone;
`,
cb,
);
};
exports.down = function (db, cb) {
db.runSql(
`
ALTER TABLE users DROP COLUMN first_seen_at;
`,
cb);
};