26 lines
513 B
JavaScript
26 lines
513 B
JavaScript
'use strict';
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up (queryInterface, Sequelize) {
|
|
/**
|
|
* Add seed commands here.
|
|
*
|
|
* Example:
|
|
* await queryInterface.bulkInsert('People', [{
|
|
* name: 'John Doe',
|
|
* isBetaMember: false
|
|
* }], {});
|
|
*/
|
|
},
|
|
|
|
async down (queryInterface, Sequelize) {
|
|
/**
|
|
* Add commands to revert seed here.
|
|
*
|
|
* Example:
|
|
* await queryInterface.bulkDelete('People', null, {});
|
|
*/
|
|
}
|
|
};
|