migration.cjs 524 B

1234567891011121314151617181920212223
  1. 'use strict';
  2. module.exports = {
  3. /** @type {import('@sequelize/cli').MigrationFunction} */
  4. async up(queryInterface, sequelize) {
  5. /**
  6. * Add altering commands here.
  7. *
  8. * Example:
  9. * await queryInterface.createTable('users', { id: Sequelize.INTEGER });
  10. */
  11. },
  12. /** @type {import('@sequelize/cli').MigrationFunction} */
  13. async down(queryInterface, sequelize) {
  14. /**
  15. * Add reverting commands here.
  16. *
  17. * Example:
  18. * await queryInterface.dropTable('users');
  19. */
  20. },
  21. };