Sequelize: Destroy/Delete all records in the table Sequelize: Destroy/Delete all records in the table mysql mysql

Sequelize: Destroy/Delete all records in the table


You can try using

db.User.destroy({  where: {},  truncate: true})


table.sync({ force: true }); worked for me!