1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00

feat: add metadata to api_keys

This commit is contained in:
Fredrik Oseberg 2022-08-16 14:37:30 +02:00
parent ec0063a72b
commit 7b63fac84d

View File

@ -0,0 +1,9 @@
'use strict';
exports.up = function (db, cb) {
db.runSql(`ALTER TABLE api_tokens ADD COLUMN metadata JSONB;`, cb);
};
exports.down = function (db, cb) {
db.runSql('ALTER TABLE api_tokens DROP COLUMN metadata;', cb);
};