'use strict';

module.exports = {
  async up(queryInterface, Sequelize) {
    await queryInterface.addColumn('purchase_requisition_item', 'material_number', {
      type: Sequelize.STRING(100),
      allowNull: true,
      comment: 'Line-level material / part number (e.g. from MR nesting)'
    });
  },

  async down(queryInterface) {
    await queryInterface.removeColumn('purchase_requisition_item', 'material_number');
  }
};
