mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
18ea7349c6
Adds a migration for adding created_by column to the api_tokens table.
7 lines
211 B
JavaScript
7 lines
211 B
JavaScript
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);
|
|
}; |