unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
15 lines (14 loc) • 492 B
JavaScript
;
exports.up = function (db, cb) {
db.runSql(`
CREATE INDEX IF NOT EXISTS idx_events_feature_type_id ON events (id)
WHERE feature_name IS NOT NULL
OR type IN ('segment-updated', 'feature_import', 'features-imported');
`, cb);
};
exports.down = function (db, cb) {
db.runSql(`
DROP INDEX IF EXISTS idx_events_feature_type_id;
`, cb);
};
//# sourceMappingURL=20240208130439-events-revision-id-index.js.map