简体   繁体   中英

Create migration files from existing models in sequelize

I have pre-defined models in my project. I want to create migration files using those models using sequelize in Typescript-Node. Is there a way to do it? Can I get the steps to do it?

Take a look at sequelize-typescript-migration-lts npm package, might be helpful for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM