1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/migrations/20200805094311-add-feature-type-to-features.js

18 lines
306 B
JavaScript
Raw Normal View History

'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);
};