Skip to content

Commit

Permalink
Update Migration to match model (#772)
Browse files Browse the repository at this point in the history
Update migration file to match table name with the model file
  • Loading branch information
FancMa01 authored May 20, 2024
1 parent e7c70c6 commit d4980de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";
module.exports = {
async up(queryInterface, Sequelize) {
await queryInterface.createTable("directorymonitoring", {
await queryInterface.createTable("directoryMonitoring", {
id: {
allowNull: false,
primaryKey: true,
Expand Down Expand Up @@ -97,6 +97,6 @@ module.exports = {
});
},
async down(queryInterface, Sequelize) {
await queryInterface.dropTable("directorymonitoring");
await queryInterface.dropTable("directoryMonitoring");
},
};

0 comments on commit d4980de

Please sign in to comment.