View Source Ecto.Migration.Reference (Ecto SQL v3.10.1)

Used internally by adapters.

To define a reference in a migration, see Ecto.Migration.references/2.

Link to this section Summary

Link to this section Types

@type t() :: %Ecto.Migration.Reference{
  column: atom(),
  match: atom() | nil,
  name: term(),
  on_delete: atom(),
  on_update: atom(),
  prefix: atom() | nil,
  table: String.t(),
  type: atom(),
  validate: boolean(),
  with: list()
}