#How to create sync db command in sequelize. As the db start to sync whenever I run npm start:dev

5 messages · Page 1 of 1 (latest)

fluid nimbus
#

whenever I run the command, its started to sync the db. using sequelize

#

event when i restart the server there;s sync automatically running

#

Like I have created databasemodule and import in app moudel

clever lagoon
#

I'm sorry, I don't understand what is the question here?

fluid nimbus
#

It got resolved! My question was whenever I start the server . the db started to sync due to sequelize sync function. As I had not handled it properly