Nilai default migrasi seksi
queryInterface.addColumn('OrderBackups', 'my_column', {
type: Sequelize.INTEGER,
defaultValue: 0
})
DevPedrada
queryInterface.addColumn('OrderBackups', 'my_column', {
type: Sequelize.INTEGER,
defaultValue: 0
})
queryInterface.addColumn('My_table', 'my_column', {
type: Sequelize.INTEGER,
defaultValue: 0
})
await queryInterface.addColumn('my_list', 'is_deleted', {
type: Sequelize.BOOLEAN,
defaultValue: false
});