sequelize-mig
sequelize-mig copied to clipboard
Primary key index issues with migration:make
First off, a much needed tool so thank you. We were experimenting with it using Postgres and Sequelize 6.32.1.
Primary keys were being duplicated because they were getting generated by the createTable list but also added to the addIndex list.
As a work-around, I simply removed them from the array.