Skip to content

Instantly share code, notes, and snippets.

View Mohit21GoJs's full-sized avatar

Mohit Y Mohit21GoJs

  • Klarna
  • Berlin
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,
})
]);