Function barrel::types::unique_constraint
source · pub fn unique_constraint<I, S>(columns: I) -> Typewhere
S: ToString,
I: IntoIterator<Item = S>,
Expand description
Create a constraint over multiple, existing columns of the same type