'use strict'; module.exports = { async up(queryInterface) { // 在"数据"(id=16)菜单下新增"打包流水"页面权限 await queryInterface.sequelize.query(` INSERT INTO wms_permission (id, path, component, name, redirect, meta_title, meta_icon, hidden, always_show, parent_id, sort, status, created_at, update_at, type) VALUES (449, 'PackingFlow', '@/views/storage/packingflow/index', 'PackingFlow', '', '打包流水', '', 0, 0, 16, 1, 1, NOW(), NOW(), 'web_pages') `); }, async down(queryInterface) { await queryInterface.sequelize.query(` DELETE FROM wms_permission WHERE id = 449 AND path = 'PackingFlow' `); }, };