Ecto.Schema.schema
You're seeing just the macro
schema
, go back to Ecto.Schema module for more information.
Defines a schema struct with a source name and field definitions.
An additional field called __meta__
is added to the struct for storing
internal Ecto state. This field always has a Ecto.Schema.Metadata
struct
as value and can be manipulated with the Ecto.put_meta/2
function.