I'm wanting to generate migration files for /models/model_name.js
(model) files. Although I haven't found a way todo this yet.
So say I created a model articles
with just an id
field, and then I edited that models/articles.js
file, how can I use the sequelize cli to generate a migration file, so I can then update my database structure?!