diff --git a/users/services/user-model.js b/users/services/user-model.js index 89a59234..446a59f5 100644 --- a/users/services/user-model.js +++ b/users/services/user-model.js @@ -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'); })