W3cubDocs

/Phoenix

Ecto.Migration.Constraint

Used internally by adapters.

To define a constraint in a migration, see Ecto.Migration.constraint/3

Summary

Types

t()

Types

t()

t() :: %Ecto.Migration.Constraint{check: String.t | nil, comment: String.t | nil, exclude: String.t | nil, name: atom, prefix: atom | nil, table: atom}

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