Models use Ecto.Schema modules.
Recognised shapes: schema "source" do ... end and embedded_schema do ... end containing field, belongs_to, has_one, has_many,
many_to_many, embeds_one, embeds_many, and timestamps.
Summary
Functions
Columns the schema's table is expected to have: plain fields (under their
source: name if given, and never virtual: true ones) and belongs_to
foreign keys.
Names of every field, association, and embed on the schema.
Types
@type t() :: %Presubmit.Adapters.EctoSchema{ fields: [Presubmit.Adapters.EctoSchema.Field.t()], module: module(), source: String.t() | nil, timestamps?: boolean() }
Functions
Columns the schema's table is expected to have: plain fields (under their
source: name if given, and never virtual: true ones) and belongs_to
foreign keys.
Names of every field, association, and embed on the schema.