kns-cli
Version:
kns cli for hapi.js and sequelize.js
25 lines (20 loc) • 529 B
JavaScript
/**
*
* @File: <%= filename %>
* @Date: <%= date %>
* @Description: TODO<Why we generate this file>
* @Reference: http://sequelizejs.com/docs/latest/migrations#functions
*
*/
module.exports = {
up: function(migration, DataTypes, done) {
// logic for transforming into the new state
// sets the migration as finished
done();
},
down: function(migration, DataTypes, done) {
// logic for reverting the changes
// sets the migration as finished
done();
}
};