sequelize-auto-migrations icon indicating copy to clipboard operation
sequelize-auto-migrations copied to clipboard

Composite keys result in changeColumn migrations being generated even though there is no change

Open anttyc opened this issue 6 years ago • 0 comments

I have a many-many relationship table that uses the foreign keys as a composite primary key. Whenever I run makemigration, a changeColumn command is generated. It's not breaking the migrations, but it does result in unnecessary commands being executed.

anttyc avatar Sep 16 '17 09:09 anttyc