mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Update index.d.ts
After this PR (e86ea72b2d) a uniqueKey option can be added to the `belongsToMany` association.
This commit is contained in:
committed by
GitHub
parent
8776b72673
commit
a372e4f48e
6
types/sequelize/index.d.ts
vendored
6
types/sequelize/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user