Skip to content

Commit

Permalink
remove force true
Browse files Browse the repository at this point in the history
  • Loading branch information
uo288543 committed Apr 26, 2024
1 parent 439f287 commit a409b17
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({ force: true })
sequelize.sync()
.then(() => {
console.log('Model synchronized successfully with the database');
})
Expand Down

0 comments on commit a409b17

Please sign in to comment.