/** @type {import('sequelize-cli').Migration} */ module.exports = { async up (queryInterface, /*Sequelize*/) { return queryInterface.bulkInsert('Roles', [ { name: 'player', createdAt: new Date(), updatedAt: new Date() }, { name: 'coach', createdAt: new Date(), updatedAt: new Date() }, { name: 'admin', createdAt: new Date(), updatedAt: new Date() } ]); }, async down (queryInterface, /*Sequelize*/) { return queryInterface.dropTable('Roles'); } };