UNPKG

unleash-server

Version:

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

14 lines 542 B
'use strict'; exports.up = function (db, cb) { db.runSql(` ALTER TABLE flag_trends ADD COLUMN IF NOT EXISTS health INTEGER DEFAULT 100; ALTER TABLE flag_trends ADD COLUMN IF NOT EXISTS time_to_production FLOAT DEFAULT 0; `, cb); }; exports.down = function (db, cb) { db.runSql(` ALTER TABLE flag_trends DROP COLUMN IF EXISTS health; ALTER TABLE flag_trends DROP COLUMN IF EXISTS time_to_production; `, cb); }; //# sourceMappingURL=20240130104757-flag-trends-health-time-to-production.js.map