Is there any tool that works similar to Django South, but for Node?
Now I'm working with Sequelize. If I got it right, Sequelize does not have an option to create migration files based on existing models. So, to create a new model/table, the steps are:
- Create model with
sequelize model:create <model meta>
. - Edit generated migration file - add actual code for creating tables
in DB under
up
section. - Run migration with
sequelize db:migrate
.
I'm looking for something that can create migration files based on existing models, manage it similar to what South can do for Django.
Is there any option?