skeleton.js 513 B

12345678910111213141516171819202122232425
  1. 'use strict';
  2. /** @type {import('sequelize-cli').Migration} */
  3. module.exports = {
  4. async up (queryInterface, Sequelize) {
  5. /**
  6. * Add seed commands here.
  7. *
  8. * Example:
  9. * await queryInterface.bulkInsert('People', [{
  10. * name: 'John Doe',
  11. * isBetaMember: false
  12. * }], {});
  13. */
  14. },
  15. async down (queryInterface, Sequelize) {
  16. /**
  17. * Add commands to revert seed here.
  18. *
  19. * Example:
  20. * await queryInterface.bulkDelete('People', null, {});
  21. */
  22. }
  23. };