Skip to content

Commit

Permalink
Merge pull request #33291 from aecorredor/patch-1
Browse files Browse the repository at this point in the history
Update sequelize index.d.ts to include uniqueKey option in belongsToMany association
  • Loading branch information
jessetrinity committed Feb 26, 2019
2 parents 1bdb27f + a372e4f commit 0e29f17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion types/sequelize/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,11 @@ declare namespace sequelize {
* Should the join model have timestamps
*/
timestamps?: boolean;


/**
* Belongs-To-Many creates a unique key when primary key is not present on through model. This unique key name can be overridden using uniqueKey option.
*/
uniqueKey?: string;
}

/**
Expand Down

0 comments on commit 0e29f17

Please sign in to comment.