References options for the column's attributes

interface AttributeReferencesOptions {
    deferrable?: Deferrable;
    key?: string;
    model?: ModelStatic<Model<any, any>>;
    table?: TableName;


deferrable?: Deferrable

When to check for the foreign key constraint

PostgreSQL only

key?: string

The column on the target model that this foreign key references

model?: ModelStatic<Model<any, any>>

The Model to reference.

Ignored if table is specified.

table?: TableName

The name of the table to reference (the sql name).