Current section
Files
Jump to
Current section
Files
lib/straw_hat_mailer/schema.ex
defmodule StrawHat.Mailer.Schema do
@moduledoc false
defmacro __using__(_opts) do
quote do
use Ecto.Schema
import Ecto.Changeset
@primary_key {:id, :binary_id, autogenerate: true}
@foreign_key_type :binary_id
@timestamps_opts [type: :utc_datetime, usec: true]
end
end
end