View Source Ecto.Migration.Index (Ecto SQL v3.9.2)

Used internally by adapters.

To define an index in a migration, see Ecto.Migration.index/3.

Link to this section Summary

Link to this section Types

@type t() :: %Ecto.Migration.Index{
  columns: [atom() | String.t()],
  comment: String.t() | nil,
  concurrently: boolean(),
  include: [atom() | String.t()],
  name: atom(),
  nulls_distinct: boolean() | nil,
  only: boolean(),
  options: String.t(),
  prefix: atom(),
  table: String.t(),
  unique: boolean(),
  using: atom() | String.t(),
  where: atom() | String.t()
}