Grim.Schema (Grim v0.4.2) View Source
This module should be used when defining Ecto schemas and provides options that all schemas share.
Example
defmodule Grim.Widgets.Widget do
use Grim.Schema
import Ecto.Changeset
@derive {Phoenix.Param, key: :widget_id}
schema "widgets" do
# fields
end
end