mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
18 lines
305 B
JavaScript
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);
|
||
|
};
|