📜  sequelize 迁移默认值 - SQL 代码示例

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

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