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

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

Specs

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