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

Used internally by adapters.

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

Summary

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()
}