Skip to content

Instantly share code, notes, and snippets.

View kevingatp's full-sized avatar

Blackjack kevingatp

View GitHub Profile
module.exports = {
up: function (queryInterface, Sequelize) {
return Promise.all([
queryInterface.addColumn('User', 'name', {
type: Sequelize.STRING
}),
queryInterface.addColumn('User', 'nickname', {
type: Sequelize.STRING,
})
]);