'use strict'; /** @type {import('sequelize-cli').Migration} */ module.exports = { up: async (queryInterface, Sequelize) => { await queryInterface.createTable('steps', { id: { type: Sequelize.INTEGER, primaryKey: true, autoIncrement: true, }, step: { type: Sequelize.STRING, allowNull: false, }, result: { type: Sequelize.STRING, allowNull: false, }, createdAt: { type: Sequelize.DATE, allowNull: false, }, updatedAt: { type: Sequelize.DATE, allowNull: false, }, }); }, down: async (queryInterface, Sequelize) => { await queryInterface.dropTable('steps'); }, };