pub fn validate_index_attribute(
columns: &[ColumnDef],
name: &str,
owner: IndexOwner,
) -> Result<(), SQLError>Expand description
DefineIndex builds no index on a system column or on a virtual generated column. columns are the relation’s columns, and a name outside them is a system column, which the index’s attributes have already been resolved to.