UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

20 lines (18 loc) 466 B
'use strict'; exports.up = function (db, cb) { db.runSql(` UPDATE api_tokens SET type = 'client' WHERE type = 'CLIENT'; UPDATE api_tokens SET type = 'admin' WHERE type = 'ADMIN'; UPDATE api_tokens SET type = 'frontend' WHERE type = 'FRONTEND'; `, cb); }; exports.down = function (db, cb) { db.runSql(``, cb); }; //# sourceMappingURL=20240823091442-normalize-token-types.js.map