use ;
use crate;
/// A named index on one or more columns of a table.
///
/// Index names follow the convention `ix_{table}__{columns}` (double underscore separator).
/// When `unique` is `true` the index also enforces a uniqueness constraint, equivalent to a
/// `UNIQUE` constraint but expressed as an index.
///
/// `IndexDef` is the normalized form produced from inline `"index"` declarations on columns.
/// You rarely construct this directly; use the `"index"` field on a [`ColumnDef`] in your model
/// JSON and let the planner normalize it.
///
/// [`ColumnDef`]: crate::schema::ColumnDef