The model used to join both sides of the N:M association. Can be a string if you want the model to be generated by sequelize.
Optional
paranoidSee paranoid
Optional
scopeA key/value set that will be used for association create and find defaults on the through model. (Remember to add the attributes to the through model)
Optional
timestampsSee timestamps
Optional
uniqueIf true a unique constraint will be added on the foreign key pair. If set to a string, the generated unique key will use the string as its name. If set to false, no unique constraint will be added. Useful if you want to turn this off and create your own unique constraint when using scopes.
This option only works if the model already has a Primary Key, as the unique constraint will not be added if the foreign keys are already part of the composite primary key.
true
Generated using TypeDoc
Used for the through table in n:m associations.
Used in through