'use strict'; /** @type {import('sequelize-cli').Migration} */ module.exports = { async up (queryInterface, Sequelize) { await queryInterface.addColumn('BlacklistReports', 'steam_nickname', { type: Sequelize.STRING, allowNull: true, // или false, если есть значение по умолчанию after: 'steam_link' }); }, async down (queryInterface, Sequelize) { await queryInterface.removeColumn('BlacklistReports', 'steam_nickname'); } };