Current section

Files

Jump to
elixir_structure_manager priv templates adapters repository data.ex
Raw

priv/templates/adapters/repository/data.ex

defmodule {app}.Adapters.Repository.{name}.Data.{name}Data do
use Ecto.Schema
## TODO: Add schema definition
# Types https://hexdocs.pm/ecto/Ecto.Schema.html#module-primitive-types
schema "{name_snake}" do
field :name, :string
#field :creation_date, :utc_datetime
#field :update_date, :utc_datetime
end
end