W3cubDocs

/Phoenix

Ecto.Migration.Reference

Used internally by adapters.

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

Summary

Types

t()

Types

t()

t() :: %Ecto.Migration.Reference{column: atom, name: term, on_delete: atom, on_update: atom, table: atom, type: atom}

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ecto/Ecto.Migration.Reference.html