'use strict'; module.exports = { async up(queryInterface, Sequelize) { await queryInterface.addColumn('categories', 'createdBy', { type: Sequelize.BIGINT, allowNull: true }); await queryInterface.addColumn('categories', 'updatedBy', { type: Sequelize.BIGINT, allowNull: true }); await queryInterface.addColumn('categories', 'deletedBy', { type: Sequelize.BIGINT, allowNull: true }); }, async down(queryInterface) { await queryInterface.removeColumn('categories', 'createdBy'); await queryInterface.removeColumn('categories', 'updatedBy'); await queryInterface.removeColumn('categories', 'deletedBy'); }, };