diff --git a/backend/migrations/20250318035832-create-user.js b/backend/migrations/20250318035832-create-user.js index e33456c..4b7e50b 100644 --- a/backend/migrations/20250318035832-create-user.js +++ b/backend/migrations/20250318035832-create-user.js @@ -5,7 +5,7 @@ const { sequelize } = require('../models'); /** @type {import('sequelize-cli').Migration} */ module.exports = { async up(queryInterface, Sequelize) { - await queryInterface.createTable('Users', { + await queryInterface.createTable('users', { id: { allowNull: false, autoIncrement: true, @@ -36,6 +36,6 @@ module.exports = { }); }, async down(queryInterface, Sequelize) { - await queryInterface.dropTable('Users'); + await queryInterface.dropTable('users'); } }; \ No newline at end of file