Ecto SQL v3.0.0-rc.1 Ecto.Migration.Index View Source

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

Link to this type t() View Source
t() :: %Ecto.Migration.Index{
  columns: [atom() | String.t()],
  comment: String.t() | nil,
  concurrently: boolean(),
  name: atom(),
  options: String.t(),
  prefix: atom(),
  table: String.t(),
  unique: boolean(),
  using: atom() | String.t(),
  where: atom() | String.t()
}