'use strict'; module.exports = { async up(queryInterface, Sequelize) { await queryInterface.addColumn('wms_express_interface', 'is_enabled', { type: Sequelize.TINYINT(1), allowNull: true, defaultValue: 1, comment: '是否启用(1=启用,0=停用)', after: 'is_hide_goods', }); }, async down(queryInterface, Sequelize) { await queryInterface.removeColumn('wms_express_interface', 'is_enabled'); }, };