UNPKG

unleash-server

Version:

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

17 lines 524 B
'use strict'; exports.up = function (db, cb) { db.runSql(` CREATE TABLE IF NOT EXISTS safeguards ( id TEXT PRIMARY KEY, impact_metric_id TEXT NOT NULL REFERENCES impact_metrics (id) ON DELETE CASCADE, action JSONB NOT NULL, trigger_condition JSONB NOT NULL ); `, cb); }; exports.down = function (db, cb) { db.runSql(` DROP TABLE IF EXISTS safeguards; `, cb); }; //# sourceMappingURL=20251105153729-create-safeguards-table.js.map