📜  sequelize 迁移设置默认值 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:38.732000             🧑  作者: Mango

代码示例2
await queryInterface.addColumn('my_list', 'is_deleted', {
  type: Sequelize.BOOLEAN,
  defaultValue: false
});