pub fn foreign_constraint<C, A, T>(
    columns: T,
    table: A,
    foreign_columns: T,
    on_delete: Option<ReferentialAction>,
    on_update: Option<ReferentialAction>
) -> Typewhere
    C: ToString,
    A: ToString,
    T: IntoIterator<Item = C>,
Expand description

Create a constraint that points to some foreign table