sequelize-auto
sequelize-auto copied to clipboard
Remove autoincrement for Primary Foreign Keys (PFK)
In my SQLite project I have a composite primary key made by an integer autoincrement column and some other PFKs.
Sequelize-auto generate models setting all PK columns with autoIncrement: true.
I think it should not set autoIncrement: true when the column is both primary and foreign key.