BlogEngine.Schema.Route (blog_engine v0.1.0)

Copy Markdown View Source

A reserved draft, current, or former path for a blog or post.

Summary

Functions

Builds a changeset for a route without normalizing its path.

Types

t()

@type t() :: %BlogEngine.Schema.Route{
  __meta__: term(),
  blog: term(),
  blog_id: term(),
  id: term(),
  inserted_at: term(),
  kind: term(),
  path: term(),
  post: term(),
  post_id: term(),
  tenant_key: term(),
  updated_at: term()
}

Functions

changeset(route, attrs)

@spec changeset(t(), map()) :: Ecto.Changeset.t()

Builds a changeset for a route without normalizing its path.