mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-08 01:15:49 +02:00
feat: add created_by to api_tokens table (#5596)
Adds a migration for adding created_by column to the api_tokens table.
This commit is contained in:
parent
150e6b03dc
commit
18ea7349c6
@ -0,0 +1,7 @@
|
||||
exports.up = function(db, cb) {
|
||||
db.runSql(`ALTER TABLE api_tokens ADD COLUMN created_by INTEGER`, cb);
|
||||
};
|
||||
|
||||
exports.down = function(db, cb) {
|
||||
db.runSql(`ALTER TABLE api_tokens DROP COLUMN created_by`, cb);
|
||||
};
|
Loading…
Reference in New Issue
Block a user