Packages

Generate a simple free-standing application with an ecto layer, intended to be used as a database resource in an application written using decoupled resources.

Current section

Files

Jump to
gen_template_ecto_server template $PROJECT_NAME$ lib user row.ex
Raw

template/$PROJECT_NAME$/lib/user/row.ex

defmodule User.Row do
use Ecto.Schema
schema "user" do
field :nickname, :string
field :email, :string
field :password, :string
timestamps()
end
end