16 lines
409 B
JavaScript
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');
|
|
},
|
|
};
|