opentelemetry-erlang-contrib/instrumentation/opentelemetry_ecto/test/support/models/user.ex

10 lines
180 B
Elixir
Raw Normal View History

defmodule OpentelemetryEcto.TestModels.User do
use Ecto.Schema
schema "users" do
field(:email, :string)
has_many(:posts, OpentelemetryEcto.TestModels.Post)
end
end