Answers for "where is the default value defined in the migration used sequelize"

PHP
1

sequelize migration default value

queryInterface.addColumn('OrderBackups', 'my_column', {
  type: Sequelize.INTEGER,
  defaultValue: 0
})
Posted by: Guest on May-12-2020
0

sequelize migration add default value

queryInterface.addColumn('My_table', 'my_column', {
  type: Sequelize.INTEGER,
  defaultValue: 0
})
Posted by: Guest on April-21-2021

Code answers related to "where is the default value defined in the migration used sequelize"

Browse Popular Code Answers by Language