First of all, I am using node.js with sequelize ORM and Postgres SQL.
I have 2 simple questions:
Every time I rerun my node application sequelize is
As you already figured out, the tables are being dropped because you are doing
sequelize.sync({ force: true })
The force true part being the culprit
To your second question - the state of migrations is saved in a table in your db - i believe it's called sequelize_meta
sequelize_meta