unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
18 lines • 574 B
JavaScript
"use strict";
exports.up = function (db, cb) {
db.runSql(`
UPDATE strategies
SET deprecated = true, built_in = 0
WHERE name = 'gradualRolloutSessionId' OR name = 'gradualRolloutUserId'
OR name = 'gradualRolloutRandom'
`, cb);
};
exports.down = function (db, cb) {
db.runSql(`
UPDATE strategies
SET deprecated = false, built_in = 1
WHERE name = 'gradualRolloutSessionId' OR name = 'gradualRolloutUserId'
OR name = 'gradualRolloutRandom'
`, cb);
};
//# sourceMappingURL=20210504101429-deprecate-strategies.js.map