Presubmit.Adapters.EctoSchema.Field (presubmit v0.2.2)

Copy Markdown View Source

One field, association, or embed declaration.

Summary

Types

t()

@type t() :: %Presubmit.Adapters.EctoSchema.Field{
  kind:
    :field
    | :belongs_to
    | :has_one
    | :has_many
    | :many_to_many
    | :embeds_one
    | :embeds_many,
  line: pos_integer(),
  name: atom(),
  opts: keyword(),
  related: module() | nil,
  type: term() | nil
}