'use strict'; /** @type {import('sequelize-cli').Migration} */ module.exports = { async up (queryInterface, Sequelize) { return queryInterface.bulkInsert('PitchTypes',[ { name: 'Fastball', abbreviation: 'FB', createdAt: new Date(), updatedAt: new Date() }, { name: 'Curveball', abbreviation: 'CB', createdAt: new Date(), updatedAt: new Date() }, { name: 'Slider', abbreviation: 'SL', createdAt: new Date(), updatedAt: new Date() }, { name: 'Changeup', abbreviation: 'CH', createdAt: new Date(), updatedAt: new Date() }, { name: 'Cutter', abbreviation: 'CUT', createdAt: new Date(), updatedAt: new Date() }, { name: 'Sweeper', abbreviation: 'SW', createdAt: new Date(), updatedAt: new Date() }, { name: 'Slurve', abbreviation: 'SLV', createdAt: new Date(), updatedAt: new Date() }, ]); }, async down (queryInterface, Sequelize) { return queryInterface.dropTable('PitchTypes'); } };