sequelize migration default value
snippet in sql

sequelize migration default value

user5969

queryInterface.addColumn('OrderBackups', 'my_column', {
  type: Sequelize.INTEGER,
  defaultValue: 0
})