mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
Update index.d.ts
After this PR (https://github.com/sequelize/sequelize/pull/9914/files/e86ea72b2dc3c89525a42678bb268af338b40a9a) a uniqueKey option can be added to the `belongsToMany` association.
This commit is contained in:
Vendored
+5
-1
@@ -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