Ecto v2.0.0-rc.1
Ecto.Schema.Metadata
Stores metadata of a struct.
The fields are:
state
- the state in a struct’s lifetime, one of :built
,
:loaded
, :deleted
source
- the source for the schema alongside the query prefix,
defaults to {nil, "source"}
context
- context stored by the database