UNPKG

unleash-server

Version:

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

15 lines 522 B
'use strict'; exports.up = function (db, cb) { // mark existing events as announced, set the default to false for future events. db.runSql(` ALTER TABLE events ADD COLUMN IF NOT EXISTS "announced" BOOLEAN DEFAULT TRUE, ALTER COLUMN "announced" SET DEFAULT FALSE; `, cb()); }; exports.down = function (db, cb) { db.runSql(` ALTER TABLE events DROP COLUMN IF EXISTS "announced"; `, cb); }; //# sourceMappingURL=20230706123907-events-announced-column.js.map