'use strict'; module.exports = { async up(queryInterface, Sequelize) { await queryInterface.addColumn('wms_stock_warehouse', 'need_recheck', { type: Sequelize.CHAR(1), allowNull: false, defaultValue: 'Y', comment: '是否需要复核:Y=需要复核,N=不需要复核', after: 'is_batch_mgmt', }); }, async down(queryInterface) { await queryInterface.removeColumn('wms_stock_warehouse', 'need_recheck'); }, };