Is there any tool that works similar to Django South, but for Node?
I am currently working with Sequelize. If I understood correctly, Sequelize is not able to create migration files based on existing models. So, to create a new model / table, follow these steps:
- Create a model using
sequelize model:create <model meta> . - Edit the generated migration file - add the current code for creating tables in the database in the
up section. - Start the migration using
sequelize db:migrate .
I am looking for something that can create migration files based on existing models, manage them similar to what South can do for Django.
Is there an option?
source share