The Sequelize example suggests doing this just before server.listen()
in app.js
which seems too limiting.
How would you script more complex syncs or migrations?
The Sequelize example suggests doing this just before How would you script more complex syncs or migrations? |
|||
|
Synchronization new project with DB is one-time process before starting the project. DB or synchronized with the application or not, so do not input your synchronization code in Express. Create standalone separate
And after that run you Express app |
|||
|