Current section

Files

Jump to
alarm_clock_pg lib model.ex
Raw

lib/model.ex

defmodule AlarmClock.PG.Model do
use Ecto.Schema
@primary_key {:id, :string, []}
schema "alarm_clock" do
field :alarm
field :run_at, :naive_datetime
timestamps updated_at: false
end
end