DEV Community

Discussion on: HOW TO EDIT AN EXISTING MODEL IN SEQUELIZE ORM.

Collapse
 
antynaty profile image
natalia

Excellent tutorial, just what I was searching for, but, it's necessary delete all table in down function? I mean, should this undo the changes of adding cols?

Collapse
 
danoseun profile image
'Seun Somefun

Thanks for the feedback and glad it helped. You can put whatever you want in the down function depending on your use case.