Remedy.Schema behaviour (Remedy v0.6.1) View Source

Remedy Schema Behaviour

Provides some basic schema helpers and alias automatically for the internal schema.

Note: It is not recommended to use this behaviour within your application. Instead you can import or alias the particular schema directly. eg alias Remedy.Schema.Guild

Link to this section Summary

Link to this section Callbacks

Specs

new(params :: map()) :: struct :: map()

Specs

update(struct :: map(), params :: map()) :: struct :: map()

Specs

validate(changeset :: Ecto.Changeset.t()) :: changeset :: Ecto.Changeset.t()