Answers for "default value sequelize-cli"

PHP
3

squelize-cli create empty migration

npx sequelize-cli migration:create --name your_migration_name
Posted by: Guest on December-02-2020
1

sequelize migration default value

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

Code answers related to "default value sequelize-cli"

Browse Popular Code Answers by Language