mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
18 lines
306 B
JavaScript
18 lines
306 B
JavaScript
|
'use strict';
|
||
|
|
||
|
exports.up = function(db, cb) {
|
||
|
return db.addColumn(
|
||
|
'features',
|
||
|
'type',
|
||
|
{
|
||
|
type: 'string',
|
||
|
defaultValue: 'release',
|
||
|
},
|
||
|
cb,
|
||
|
);
|
||
|
};
|
||
|
|
||
|
exports.down = function(db, cb) {
|
||
|
return db.removeColumn('features', 'type', cb);
|
||
|
};
|