📜  sequelize 迁移添加默认值 - Javascript 代码示例

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

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