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

Used internally by adapters.

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

Summary

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