1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/migrations/20200806091734-add-stale-flag-to-features.js
2020-08-07 10:46:35 +02:00

18 lines
305 B
JavaScript

'use strict';
exports.up = function(db, cb) {
return db.addColumn(
'features',
'stale',
{
type: 'boolean',
defaultValue: false,
},
cb,
);
};
exports.down = function(db, cb) {
return db.removeColumn('features', 'stale', cb);
};