Interface ModelAttributeColumnReferencesOptions

References options for the column's attributes

Hierarchy

  • ModelAttributeColumnReferencesOptions

Properties

Properties

deferrable?: Deferrable | Class<Deferrable, any[]>

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>> | TableName

The name of the table to reference (the sql name), or the Model to reference.

Generated using TypeDoc