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?
            Asked
            
        
        
            Active
            
        
            Viewed 2,867 times
        
    2
            
            
        - 
                    Duplicate question: https://stackoverflow.com/questions/27835801/how-to-auto-generate-migrations-with-sequelize-cli-from-sequelize-models – Kunal Kukreja Aug 14 '20 at 05:02
- 
                    @kunal, do you already have sequelize models created? – Pram Aug 14 '20 at 05:35
- 
                    @Pram Yes. I already have the models which Im using for DB calls. I want to remove sequelize.sync and use migration – Kunal Shukla Aug 17 '20 at 04:04
1 Answers
0
            
            
        Take a look at sequelize-typescript-migration-lts npm package, might be helpful for you.
 
    
    
        mmRoshani
        
- 99
- 7
- 
                    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/late-answers/32347174) – bfris Jul 31 '22 at 22:30
