Answer the question
In order to leave comments, you need to log in
How to make sure that after adding a new field to models in the table, all data is not deleted, but a new field is added?
If you just synchronize sequelize.sync() - nothing happens
If with "force:true" - deletes and re-creates the table with the desired field
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question