pub const REFERENCES: ColumnMarker;Expand description
Establishes a foreign key reference to another table’s column.
§Example
ⓘ
#[column(REFERENCES = User::id)]
user_id: i32,See: https://www.postgresql.org/docs/current/ddl-constraints.html#DDL-CONSTRAINTS-FK