mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
adding unique attribute in AssociationForeignKeyOptions
adding the unique attribute in AssociationForeignKeyOptions this unique could be boolean or a string for composite unique indexes
This commit is contained in:
Vendored
+1
-1
@@ -1200,7 +1200,7 @@ declare namespace sequelize {
|
||||
* Attribute name for the relation
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
unique?: boolean | string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user