sequelize-auto
sequelize-auto copied to clipboard
create migrations from existing db
Hey, is there a function to create a migration from an existing db? My situation is that i've got a complete DB but i want to move my system from a different technology to node, and wanted to use sequelize's migration, but given the size of the DB, creating an initial migration would take a lot of time.
I have the same problem and i can't find a tutorial online where explain how to manage migrations in this situation.
I think i should create a first "init migration" that represent the state of database schema and update the migration state (SequelizeMeta table) without running it.
Is it right?
For now, there is: https://github.com/MRVMV/sequelize-mig