WMS_MAIN/database/migrations/20260511120000-add-wave-prefix-to-wms_wave_strategy.js
liufumingren 0c3518e65d 1
2026-05-13 03:18:39 +08:00

16 lines
409 B
JavaScript

'use strict';
module.exports = {
async up(queryInterface, Sequelize) {
await queryInterface.addColumn('wms_wave_strategy', 'wave_prefix', {
type: Sequelize.STRING(5),
allowNull: true,
comment: '策略波次前缀(优先于仓库前缀)',
});
},
async down(queryInterface, Sequelize) {
await queryInterface.removeColumn('wms_wave_strategy', 'wave_prefix');
},
};