sequelize-mig icon indicating copy to clipboard operation
sequelize-mig copied to clipboard

Primary key index issues with migration:make

Open bpetty-interlace opened this issue 1 year ago • 0 comments

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.

bpetty-interlace avatar Jun 28 '23 03:06 bpetty-interlace