sequelize migration add default value code example
Example: sequelize migration add default value
queryInterface.addColumn('My_table', 'my_column', {
type: Sequelize.INTEGER,
defaultValue: 0
})
queryInterface.addColumn('My_table', 'my_column', {
type: Sequelize.INTEGER,
defaultValue: 0
})