Ecto SQL v3.1.3 Ecto.Migration.Reference 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

Link to this type

t() View Source
t() :: %Ecto.Migration.Reference{
  column: atom(),
  name: term(),
  on_delete: atom(),
  on_update: atom(),
  prefix: atom() | nil,
  table: String.t(),
  type: atom()
}