Skip to content

Commit

Permalink
added force true
Browse files Browse the repository at this point in the history
  • Loading branch information
uo289689 authored Apr 26, 2024
1 parent a409b17 commit 59ca40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users/services/user-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const QuestionsRecord = sequelize.define('QuestionsRecord', {
});

// Synchronize the model with the database
sequelize.sync()
sequelize.sync({force:true})
.then(() => {
console.log('Model synchronized successfully with the database');
})
Expand Down

0 comments on commit 59ca40a

Please sign in to comment.