'use strict'; module.exports = { async up(queryInterface) { await queryInterface.removeColumn('wms_store', 'logo_url'); await queryInterface.removeColumn('wms_store', 'domain'); }, async down(queryInterface, Sequelize) { const { STRING } = Sequelize; await queryInterface.addColumn('wms_store', 'logo_url', { type: STRING(255), allowNull: true, comment: 'logo链接', }); await queryInterface.addColumn('wms_store', 'domain', { type: STRING(100), allowNull: true, comment: '绑定域名', }); }, };