mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-02 01:17:58 +02:00
feat: add column created_by to users table (#5597)
This commit is contained in:
parent
74f6f15247
commit
ed220c0b89
7
src/migrations/20231211134130-add-created-by-to-users.js
Normal file
7
src/migrations/20231211134130-add-created-by-to-users.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
exports.up = function(db, cb) {
|
||||||
|
db.runSql(`ALTER TABLE users ADD COLUMN created_by INTEGER`, cb);
|
||||||
|
};
|
||||||
|
|
||||||
|
exports.down = function(db, cb) {
|
||||||
|
db.runSql(`ALTER TABLE users DROP COLUMN created_by`, cb);
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user