migration.mjs 481 B

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