seed.mjs 525 B

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