1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/migrations/20200805094311-add-feature-type-to-features.js
2020-08-06 11:18:52 +02:00

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