OptionalnameCustom name for the foreign key constraint
OptionalallowAllow null values in the foreign key column(s)
OptionalvalidateValidation options for the foreign key column
OptionalcompositeComposite foreign key - array of field names that make up the composite key. This is used when the foreign key consists of multiple columns.
OptionalconstraintCustom constraint name for the foreign key (alternative to 'name')
Foreign-key specifics for an association, when the defaults derived from the model names are not what you want.